public void stationCountt() { int x = 10; AStationManager stm = AStationManager.createAStationManager(TestStation.GetStations(x)); Assert.AreEqual(x, stm.stationCount()); }
public void AddStationTest() { String name1 = "1"; String name2 = "x"; int preview = stationManager.stationCount(); stationManager.AddStation(name1); Assert.AreEqual(preview, stationManager.stationCount()); stationManager.AddStation(name2); Assert.AreEqual(preview + 1, stationManager.stationCount()); }