Browse Source

refactoring: implement new variables in test_requestLoan.c

remotes/origin/feature/request-loan
fdai7514 2 years ago
parent
commit
0756ad91ff
  1. 7
      tests/test_requestLoan.c

7
tests/test_requestLoan.c

@ -14,9 +14,10 @@ void tearDown(void)
void test_requestLoan(void)
{
int e;
e = allow();
TEST_ASSERT_EQUAL_INT(1, e);
int actual, expected; //Arrange
expected = 1;
actual = allow(); // Act
TEST_ASSERT_EQUAL_INT(expected, actual); // Assert
}
#endif // TEST
Loading…
Cancel
Save