X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=test%2Ft.Heap.c;h=733f1048c89c0e5e6b30d98514156dd657518308;hb=1ff641f9960fa6c6081817a5641afb22fad91dcd;hp=41c0805374b979a2dcdfb189416d97517de77254;hpb=a78687686f5b490d99fae21f9fa8aaa9a34f1812;p=cgds.git diff --git a/test/t.Heap.c b/test/t.Heap.c index 41c0805..733f104 100644 --- a/test/t.Heap.c +++ b/test/t.Heap.c @@ -1,13 +1,13 @@ #include #include "cgds/Heap.h" -#include "test/helpers.h" -#include "test/lut.h" +#include "helpers.h" +#include "lut.h" -void t_heap_clear() //FTEST +void t_heap_clear() { Heap* h = heap_new(int, MIN_T, 2); - // NOTE: items with same priorities are supported; + // NOTE: items with same priorities are supported; // since it is unused in this test, we arbitrarily choose 0.0 heap_insert(h, 0, 0.0); heap_insert(h, 0, 0.0); @@ -19,7 +19,7 @@ void t_heap_clear() //FTEST heap_destroy(h); } -void t_heap_size() //FTEST +void t_heap_size() { Heap* h = heap_new(double, MAX_T, 3); @@ -40,7 +40,7 @@ void t_heap_size() //FTEST heap_destroy(h); } -void t_heap_push_pop_basic() //FTEST +void t_heap_push_pop_basic() { Heap* h = heap_new(int, MIN_T, 3); @@ -101,7 +101,7 @@ void t_heap_push_pop_basic() //FTEST heap_destroy(h); } -void t_heap_push_pop_evolved() //FTEST +void t_heap_push_pop_evolved() { int n = 10; @@ -148,7 +148,7 @@ void t_heap_push_pop_evolved() //FTEST heap_destroy(h); } -void t_heap_copy() //FTEST +void t_heap_copy() { int n = 10;