X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/2470cecbf9f0f40714b9f50d9a76d187abe336e6..d95cfe00c7dfecac65e0105a92d65f877a4a8e4f:/emufs/b_plus_test.c?ds=sidebyside diff --git a/emufs/b_plus_test.c b/emufs/b_plus_test.c index 00f0c6b..4e99c19 100644 --- a/emufs/b_plus_test.c +++ b/emufs/b_plus_test.c @@ -26,10 +26,10 @@ querydata.clave.i_clave = i; emufs_b_plus_insertar(emu->indices,&querydata); } -/*printf("Insertando clave %i\n",3); +printf("Insertando clave %i\n",3); querydata.num_bloque = 10; querydata.clave.i_clave = 3; -emufs_b_plus_insertar(emu->indices,&querydata);*/ +emufs_b_plus_insertar(emu->indices,&querydata); /* NOTA: Deberia devolver el mismo 104 y Exitcode = -1 */ querydata.num_bloque = 104; @@ -67,13 +67,13 @@ printf("Exit Code del Borrar Clave: %i\n",exitcode); querydata.clave.i_clave = 16; exitcode = emufs_b_plus_eliminar(emu->indices,querydata.clave,2); printf("Exit Code del Borrar Clave: %i\n",exitcode);*/ -/*querydata.clave.i_clave = 16; +querydata.clave.i_clave = 16; exitcode = emufs_b_plus_eliminar(emu->indices,querydata.clave,0); printf("Exit Code del Borrar Clave: %i\n",exitcode); querydata.clave.i_clave = 32; exitcode = emufs_b_plus_eliminar(emu->indices,querydata.clave,0); -printf("Exit Code del Borrar Clave: %i\n",exitcode);*/ -querydata.clave.i_clave = 2; +printf("Exit Code del Borrar Clave: %i\n",exitcode); +querydata.clave.i_clave = 8; exitcode = emufs_b_plus_eliminar(emu->indices,querydata.clave,0); printf("Exit Code del Borrar Clave: %i\n",exitcode);