@ -7,4 +7,5 @@
bool checkAccount(int accountNumber);
double getAvailableAccountBalance(double balance);
float getAmount(float amountToSend);
#endif // SENDMONEY_H
@ -44,5 +44,15 @@ void test_getAvailableAccountBalance(void)
// Assert
TEST_ASSERT_EQUAL(expected, result);
}
// hier wird die Methode getAmount() getestet
void test_getAmount(void)
{
// Arrage
float expected = 500.1;
float result = getAmount(expected);
#endif // TEST