public void TestGuangzhouMethod1() { MetroPath path = new MetroPath() { CityName = "广州", StartStation = new MetroStation() { StationName = "番禺广场" }, EndStation = new MetroStation() { StationName = "科韵路" } }; Assert.AreEqual(path.SelectedPrice, 6); }
public ThroughPathCalcStrategy(MetroPath metroPath) { // TODO: Complete member initialization this.m_metroPath = metroPath; }