You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
350 B
24 lines
350 B
#ifdef TEST
|
|
|
|
#include "unity.h"
|
|
|
|
#include "displayMenuCalculator.c"
|
|
|
|
void setUp(void)
|
|
{
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
}
|
|
|
|
void test_displayMenuCalculator(void)
|
|
{
|
|
int expected, actual; //Arrange
|
|
expected = 1;
|
|
actual = check(); //Act
|
|
TEST_ASSERT_EQUAL_INT(expected, actual);//Assert
|
|
}
|
|
|
|
|
|
#endif // TEST
|