From 710e1f018996e806446604f5b4b6850563da0b97 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 21 Aug 2022 18:26:15 +0400 Subject: Fix KIT_TEST_FILE macro --- README.md | 1 + source/test/unittests/lower_bound.test.c | 2 +- source/test/unittests/mersenne_twister_64.test.c | 2 +- source/test/unittests/move_back.test.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0e59887..67a3eb0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ - Unit-testing - Lower bound +- Move back - Dynamic array - Input buffer - Random number generation diff --git a/source/test/unittests/lower_bound.test.c b/source/test/unittests/lower_bound.test.c index 6729598..682b870 100644 --- a/source/test/unittests/lower_bound.test.c +++ b/source/test/unittests/lower_bound.test.c @@ -1,7 +1,7 @@ #include "../../kit/lower_bound.h" #include "../../kit/array_ref.h" -#define TEST_FILE lower_bound +#define KIT_TEST_FILE lower_bound #include "../../kit_test/test.h" static int kit_less_int(int left, int right) { diff --git a/source/test/unittests/mersenne_twister_64.test.c b/source/test/unittests/mersenne_twister_64.test.c index 37c82b4..b986c55 100644 --- a/source/test/unittests/mersenne_twister_64.test.c +++ b/source/test/unittests/mersenne_twister_64.test.c @@ -1,6 +1,6 @@ #include "../../kit/mersenne_twister_64.h" -#define TEST_FILE mersenne_twister_64 +#define KIT_TEST_FILE mersenne_twister_64 #include "../../kit_test/test.h" enum { SIZE = 1000 }; diff --git a/source/test/unittests/move_back.test.c b/source/test/unittests/move_back.test.c index cbb6f23..df26e03 100644 --- a/source/test/unittests/move_back.test.c +++ b/source/test/unittests/move_back.test.c @@ -1,6 +1,6 @@ #include "../../kit/move_back.h" -#define TEST_FILE move_back +#define KIT_TEST_FILE move_back #include "../../kit_test/test.h" static int is_equal(int const x, int const y) { -- cgit v1.2.3