public void CalculateExemptionForRent684() { House house; Employee employee; uint u; house = new House(); house.IsRented = true; house.Location = Location.NonMetro; house.MonthlyRent = 1u; employee = new Employee(3001u, 1, house); employee.Initialize(); u = this.CalculateExemptionForRent(employee); Assert.AreEqual<uint>(360u, u); }
public void CalculateExemptionForRent129() { House house; Employee employee; uint u; house = new House(); house.IsRented = true; house.Location = Location.Metro; house.MonthlyRent = 715478357u; employee = new Employee(1073741824u, 1, house); employee.Initialize(); u = this.CalculateExemptionForRent(employee); Assert.AreEqual<uint>(0u, u); }
public void CalculateExemptionForRent145() { House house; Employee employee; uint u; house = new House(); house.IsRented = true; house.Location = Location.Metro; house.MonthlyRent = 2969603119u; employee = new Employee(uint.MaxValue, 1, house); employee.Initialize(); u = this.CalculateExemptionForRent(employee); Assert.AreEqual<uint>(42949672u, u); }
public void CalculateExemptionForRentThrowsInvalidLocationException252() { House house; Employee employee; uint u; house = new House(); house.IsRented = true; house.Location = (Location)2; house.MonthlyRent = 1u; employee = new Employee(3001u, 1, house); employee.Initialize(); u = this.CalculateExemptionForRent(employee); }