public async Task TestNetSalary(decimal netSalary) { PaycheckAPI.Domain.Paycheck.Models.Paycheck paycheck = await _service.execute(_employee.Id); Assert.AreEqual( netSalary, paycheck.NetSalary ); }
public async Task TestTotalDiscounts(decimal totalDiscounts) { PaycheckAPI.Domain.Paycheck.Models.Paycheck paycheck = await _service.execute(_employee.Id); Assert.AreEqual( totalDiscounts, paycheck.TotalDiscounts ); }
public async Task TestBuildPaycheck() { PaycheckAPI.Domain.Paycheck.Models.Paycheck paycheck = await _service.execute(_employee.Id); Assert.AreEqual( _employee.grossWage, paycheck.GrossSalary ); }