#include "btree.h"
+#include "clave_fija.h"
int main (int argc, char *argv[])
{
- BTree *tree;
+ BTree tree ("test.idx", 1024);
- tree = new BTree ("test.idx", 1024);
+ for (int i=0; i<10000; i++) {
+ ClaveFija c(i);
- delete tree;
+ std::cout << "Agregando " << i << std::endl;
+ tree.AddKey (c);
+ }
return 0;
}