X-Git-Url: https://git.auder.net/images/pieces/Cwda/bd.svg?a=blobdiff_plain;f=test%2Ft.BufferTop.c;h=53899c4c38f5bfd157faf1cd62b3c5cf86f46867;hb=1ff641f9960fa6c6081817a5641afb22fad91dcd;hp=f022d132e2dc4dfe0540e5b1d8139daeafaa14eb;hpb=a78687686f5b490d99fae21f9fa8aaa9a34f1812;p=cgds.git diff --git a/test/t.BufferTop.c b/test/t.BufferTop.c index f022d13..53899c4 100644 --- a/test/t.BufferTop.c +++ b/test/t.BufferTop.c @@ -1,13 +1,13 @@ #include #include "cgds/BufferTop.h" -#include "test/helpers.h" -#include "test/lut.h" +#include "helpers.h" +#include "lut.h" -void t_buffertop_clear() //FTEST +void t_buffertop_clear() { BufferTop* bt = buffertop_new(int, 10, MIN_T, 2); - // NOTE: items with same values are supported; + // NOTE: items with same values are supported; // since it is unused in this test, we arbitrarily choose 0.0 buffertop_tryadd(bt, 0, 0.0); buffertop_tryadd(bt, 0, 0.0); @@ -19,7 +19,7 @@ void t_buffertop_clear() //FTEST buffertop_destroy(bt); } -void t_buffertop_size() //FTEST +void t_buffertop_size() { BufferTop* bt = buffertop_new(double, 10, MAX_T, 3); @@ -55,7 +55,7 @@ void t_buffertop_size() //FTEST buffertop_destroy(bt); } -void t_buffertop_push_pop_basic() //FTEST +void t_buffertop_push_pop_basic() { BufferTop* bt = buffertop_new(int, 5, MIN_T, 3); @@ -89,7 +89,7 @@ void t_buffertop_push_pop_basic() //FTEST buffertop_destroy(bt); } -void t_buffertop_push_pop_evolved() //FTEST +void t_buffertop_push_pop_evolved() { int n = 10; @@ -136,7 +136,7 @@ void t_buffertop_push_pop_evolved() //FTEST buffertop_destroy(bt); } -void t_buffertop_copy() //FTEST +void t_buffertop_copy() { int n = 10;