Skip to content

A .NET pair programming test for the travel industry

Notifications You must be signed in to change notification settings

TenaciousBen/net-pair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Preamble

Your company has recently acquired a new hotel. Unfortunately the previous administration badly misunderstood the requirements of GDPR and thought that it was now illegal to divulge prices to customers. As a result, you've been tasked with coming up with a price calculator that tells customers what the best available price is for their stay, taking into account any special offers that are applicable for the duration.

You're going to make it as a console app, because customers just fricking love console apps.

Structure

The solution is structured into 3 basic projects:

  • A console application
  • A class library
  • A test project

The class library has a StayCalculator which calculates the cheapest stay for a given trip using the data provided by the HotelRoomRateRepository and SpecialOfferRepository. The console application part of the solution is already finished, so you can just focus on the class library and test project.

Outcome

Once completed, the console application should be able to correctly calculate stays. Please ensure that you add whatever testing you're comfortable with, and feel free to ask questions along the way.

About

A .NET pair programming test for the travel industry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages