Wednesday, December 21, 2011

Test Data 0003:

The writing and testing of these new classes is going great. Here's a sample output that deals with the possible methods. Consider it proof of concept.
(Today is monday, price = $0.70)
-------------------------------------------
Name: Gabriella Hill
Sex: Female
Social Class: lower
$$$ in Wallet: 0.6
Satisfaction: 0.5
[Monday, Tuesday]
Gabriella Hill did not purchase lemonade:
Reason: Too pricey!
-------------------------------------------
Name: Megan West
Sex: Female
Social Class: lower
$$$ in Wallet: 0.6
Satisfaction: 0.5
[Tuesday, Thursday, Friday, Saturday]
Megan West did not visit today.
-------------------------------------------
Name: Rachel Harris
Sex: Female
Social Class: middle
$$$ in Wallet: 1.0
Satisfaction: 0.5
[Monday, Thursday, Saturday]
Rachel Harris purchased lemonade.
-------------------------------------------

No comments:

Post a Comment