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.

23 lines
345 B

  1. #ifdef TEST
  2. #include "unity.h"
  3. #include "../src/requestLoan.c"
  4. void setUp(void)
  5. {
  6. }
  7. void tearDown(void)
  8. {
  9. }
  10. void test_requestLoan(void)
  11. {
  12. int actual, expected; //Arrange
  13. expected = 1;
  14. actual = allow(); // Act
  15. TEST_ASSERT_EQUAL_INT(expected, actual); // Assert
  16. }
  17. #endif // TEST