scl/test/util.c
Jacob 32386ccf58 Here's another commit.
Got the Makefile working with tests properly.
2024-09-30 09:00:37 -04:00

18 lines
284 B
C

#include "unity/unity.h"
#include "../src/include//util.h"
void setUp() {}
void tearDown() {}
void test_is_even() {
TEST_ASSERT_EQUAL(0, is_even(1));
TEST_ASSERT_EQUAL(1, is_even(2));
}
int main() {
UNITY_BEGIN();
RUN_TEST(test_is_even);
return UNITY_END();
}