Example #1
0
        public void WriteJson()
        {
            StationLocationList stations = new StationLocationList();

            stations.list = new List <StationLocation>()
            {
                new StationLocation(1001, 0.8, 0.4),
                new StationLocation(1002, 0.1, 0.2)
            };
            Assert.AreEqual(true, LocationHandler.setStationLocations(stations));
        }