示例#1
0
        public void EventPlanning_Repository_CalculateCost_ShouldBeCorrect()
        {
            //Arrange
            EventPlanning_Repository eventrepo = new EventPlanning_Repository();
            EventType type = EventType.Bowling;

            //Act
            decimal actual   = eventrepo.AddCostOfOneType(type);
            decimal expected = 100.01m;

            //Assert
            Assert.AreEqual(expected, actual);
        }