diff --git a/test/test_sendmoney.c b/test/test_sendmoney.c index 246407c..49e18d0 100644 --- a/test/test_sendmoney.c +++ b/test/test_sendmoney.c @@ -29,4 +29,20 @@ void test_sendmoney_NeedToImplement(void) TEST_ASSERT_TRUE(expected2); } +// hier wird die Methode getAvailableAccountBalance()getestet +void test_getAvailableAccountBalance(void) +{ + + // Arrage + + double expected = 500.0; + + // Act + + double result = getAvailableAccountBalance(expected1); + + // Assert + TEST_ASSERT_EQUAL(expected, result); +} + #endif // TEST