public void GivenWeekDayandWeekEnd_ReturnCheapestHotel_SadCase() { Customer customer = new Customer(CustomerType.REGULAR); string[] dates = { "11-09-2020", "12-09-2020" }; HotelReservationService reservation = new HotelReservationService(); string output = reservation.getCheapestHotel(customer, hotels, dates); Assert.AreEqual(output, "Hotel: LakeWood, Rate: 210"); }
public void GivenHotelNames_ReturnCheapestHotel() { Customer customer = new Customer(CustomerType.REGULAR); string[] dates = { "2020-10-01", "2020-10-02" }; HotelReservationService reservation = new HotelReservationService(); string output = reservation.getCheapestHotel(customer, hotels, dates); Assert.AreEqual(output, "Hotel: LakeWood, Rate: 220"); }