@ -1,7 +1,7 @@
#ifdef TEST
#include <float.h>
#include "unity.h"
#include "currentCustomerAccountBalance.h"
void setUp(void)
@ -58,6 +58,14 @@ void test_failOpenFile(void) {
}
void test_getAvailableAccountBalance(void) {
int user_id = 1234;
float max = FLT_MAX;
int result = getAvailableAccountBalance(user_id);
TEST_ASSERT_TRUE(result < max);