private void DisplayOutingCostByEvent() { Console.Clear(); Console.WriteLine($"Total cost for amusment parks: {_repo.TotalCostForEventType(EventType.AmusementPark)} "); Console.WriteLine($"Total cost for bowling: {_repo.TotalCostForEventType(EventType.Bowling)} "); Console.WriteLine($"Total cost for golf: {_repo.TotalCostForEventType(EventType.Golf)} "); Console.WriteLine($"Total cost for concert: {_repo.TotalCostForEventType(EventType.Concert)} "); Console.ReadKey(); }
public void TotalCostForEventTest() { //ARRANGE SeedContentList(); //ACT double costForAmusementParks = _repo.TotalCostForEventType(EventType.AmusementPark); //ASSERT Assert.AreEqual(3650.00, costForAmusementParks); }