This commit is contained in:
2017-08-04 22:01:19 -04:00
commit 20926f91d6
6 changed files with 1098 additions and 0 deletions

1040
tests/greatest.h Normal file

File diff suppressed because it is too large Load Diff

26
tests/test.c Normal file
View File

@@ -0,0 +1,26 @@
#include "greatest.h"
#include "../silleee.h"
#define DELTA 0.01
#define ASSERT_DELTA(expected, actual) {\
double delta = expected-actual;\
ASSERT_IN_RANGE(0, delta, DELTA);\
}
TEST silleee_zeros_is_zero() {
}
SUITE(tests) {
RUN_TEST(silly_zeros_is_zero);
}
GREATEST_MAIN_DEFS();
int main(int argc, char **argv) {
GREATEST_MAIN_BEGIN();
RUN_SUITE(tests);
GREATEST_MAIN_END();
}