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