public void HoursCalculaton_ShouldGetHoursPerYear() { //Arrange _hoursCalculation = new HoursPerYear(new Hours()); //Act var result = _hoursCalculation.GetHours(); //Assert Assert.Equal(8760, result); }
public void HoursCalcualtion_ShouldNotGetHours() { //Arrange _hoursCalculation = new UnknowTime(new Hours()); //Act var result = _hoursCalculation.GetHours(); //Assert Assert.Equal(0, result); }
public void HoursCalculation_ShouldGetHoursPerMonth() { //Arrange _hoursCalculation = new HoursPerMonth(new Hours()); //Act var result = _hoursCalculation.GetHours(); //Assert Assert.Equal(730, result); }