常用方法
常用方法
常用方法
常用方法
public void MoreThanOneHour() { Rentals rental = new Rentals() { Customer = customer, Bike = bike, RentalBegin = new DateTime(2018, 2, 14, 8, 15, 0), RentalEnd = new DateTime(2018, 2, 14, 10, 30, 0), }; Assert.AreEqual(13, controller.CalculateCost(rental, bike)); }