double test_account_value() { account ac; ac.years_open = 2; ac.plan_type = 2; return account_value(&ac); }
void test_account_value() { account ac; ac.years_open = 2; ac.plan_type = 2; ASSERT(account_value(&ac) == 5000); }
double test_malloc() { account *pa; init_account(&pa); return account_value(pa); }
void test_malloc() { account *pa; init_account(&pa); ASSERT(account_value(pa) == 15000); }