Browse Source

refactoring: change variable names in test_calculatorGetUserInput.c

remotes/origin/feature/calculator-get-user-input
fdai7514 2 years ago
parent
commit
1ead3924d8
  1. 12
      tests/test_calculatorGetUserInput.c

12
tests/test_calculatorGetUserInput.c

@ -4,6 +4,10 @@
#include "calculatorGetUserInput.c"
// Note:
/* This Function may or may not be implemented in actual program, even if it is merged to the main branch.
If it is temporarily not included in the main Program, then this has a role in future Development of the Project */
void setUp(void)
{
}
@ -14,10 +18,10 @@ void tearDown(void)
void test_calculatorGetUserInput_NeedToImplement(void)
{
int a, e;
e = 1;
a = allowOnly();
TEST_ASSERT_EQUAL_INT(e, a);
int actual, expected; //Arrange
expected = 1;
actual = allowOnly(); //Act
TEST_ASSERT_EQUAL_INT(expected, actual);//Assert
}
#endif // TEST
Loading…
Cancel
Save