diff options
Diffstat (limited to 'source/tests/array_ref.test.c')
-rw-r--r-- | source/tests/array_ref.test.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/tests/array_ref.test.c b/source/tests/array_ref.test.c index cb19850..06e098c 100644 --- a/source/tests/array_ref.test.c +++ b/source/tests/array_ref.test.c @@ -1,17 +1,7 @@ #include "../kit/array_ref.h" #define KIT_TEST_FILE array_ref -#include "../kit_test/test.h" - -TEST("array ref wrap") { - int foo[] = { 1, 2, 3 }; - AR_WRAP(ref, int, foo); - - REQUIRE(ref.size == 3); - REQUIRE(ref.values[0] == 1); - REQUIRE(ref.values[1] == 2); - REQUIRE(ref.values[2] == 3); -} +#include "../kit/kit_test.h" TEST("array ref wrap") { int foo[] = { 1, 2, 3 }; |