Download - The Story of a Story
Customer is charged for a late return
In order to discourage overduevideo rentals
As a video store clerk
I need to charge each customer a late return fee
Charge 0.50 for each dayIron Man 2 is overdue
Charge 1.50 for each week Pulp Fictionis overdue
Charge .50 each day a new title is overdue
Given a customer that has rented Iron Man 2When the rental is returned <hours> hours lateThen the late return fee is <fee>
Examples:
|hours|fee||16|0.50||24|1.00||49|1.50|
Charge 1.50 each week a classic title is overdue
Given a customer that has rented Pulp FictionWhen the rental is returned <days> days lateThen the late return fee is <fee>
Examples:
|days|fee||3|1.50||7|3.00||17|4.50|
Credits
http://www.flickr.com/photos/mountainbread/34033526/
http://www.flickr.com/photos/flem007_uk/3168012226/
https://docs.google.com/drawings/edit?id=1cbfKq-KazcbMVCnRfih6zMSDBdtf90KviV7l2oxGyWM&hl=en
http://www.flickr.com/photos/frigante/2039111570/
http://www.houghtonmifflinbooks.com/features/mike_mulligan/