public void DecreaseMaxTest() { int excepted = stationManager.MaxHeat - 1; stationManager.DecreaseMaxTemp(); Assert.AreEqual(excepted, stationManager.MaxHeat); }
public void deacreaseMaxTemp() { StationManager.DecreaseMaxTemp(); Thread.Sleep(100); String[] xd = StationManager.getStation(); this.Station = IStation.createStation(float.Parse(xd[2]), float.Parse(xd[1]), xd[0]); }