diff --git a/test/average_median/test_average_median.c b/test/average_median/test_average_median.c index 8b13789..3044fb7 100644 --- a/test/average_median/test_average_median.c +++ b/test/average_median/test_average_median.c @@ -1 +1,11 @@ +#include "unity.h" +#include "average_median.h" +void setUp(void){} + +void tearDown(void){} + +void test_average() { + double data[] = {1.0, 2.0, 3.0, 4.0, 5.0}; + TEST_ASSERT_EQUAL_DOUBLE(3.0, mean(data, 5)); +}