27 lines
406 B
C
27 lines
406 B
C
#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();
|
|
}
|