Advertisement
Guest User

Untitled

a guest
May 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. # Context
  2.  
  3. A company rents bikes under following options:
  4.  
  5. 1. Rental by hour, charging $5 per hour
  6. 2. Rental by day, charging $20 a day
  7. 3. Rental by week, changing $60 a week
  8. 4. Family Rental, is a promotion that can include from 3 to 5 Rentals (of any type) with a discount of 30% of the total price
  9.  
  10. # Assignment:
  11.  
  12. 1. Implement a set of classes to model this domain and logic
  13. 2. Add automated tests to ensure a coverage over 85%
  14. 3. Apply all the recommended practices you would use in a real project
  15.  
  16.  
  17. Note: we don't expect any kind of application, just a set of classes with its automated tests.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement