search-algorithms/test/test.cpp

25 lines
336 B
C++
Raw Normal View History

2023-09-15 12:43:32 -05:00
#include "unity.h"
#include "unity_internals.h"
void setUp() { }
void tearDown() { }
void test_SUCCESS(void)
{
TEST_ASSERT_EQUAL_INT(4, 2+2);
}
void test_FAILURE(void)
{
TEST_ASSERT_EQUAL_INT(4, 2+3);
}
int main(void)
{
UNITY_BEGIN();
RUN_TEST(test_SUCCESS);
RUN_TEST(test_FAILURE);
return UNITY_END();
}