blob: f54bc3672bcc9255e2828443fec3373a148c970a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#define KIT_TEST_IMPLEMENTATION
#define KIT_TEST_ASSERTIONS_LIMIT 10
#include "../kit/test.h"
TEST("foo") {
int i;
for (i = 0; i <= KIT_TEST_ASSERTIONS_LIMIT; i++) REQUIRE(1);
}
int main(int argc, char **argv) {
if (run_tests(argc, argv) != 1)
return 1;
return 0;
}
#undef KIT_TEST_FILE
|