diff --git a/tests/test_requestLoan.c b/tests/test_requestLoan.c index 9dd5e66..010f5d6 100644 --- a/tests/test_requestLoan.c +++ b/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