generated from Trianta/cpp-unity-template
22 lines
292 B
C++
22 lines
292 B
C++
#include <unity/unity.h>
|
|
#include <unity/unity_internals.h>
|
|
|
|
void setUp() { ; }
|
|
void tearDown() { ; }
|
|
|
|
int Math(void) {
|
|
return 2+2;
|
|
}
|
|
|
|
void test_Math(void) {
|
|
TEST_ASSERT_EQUAL_INT(4, Math());
|
|
}
|
|
|
|
|
|
int main(void) {
|
|
UNITY_BEGIN();
|
|
RUN_TEST(test_Math);
|
|
return UNITY_END();
|
|
}
|
|
|