public void CreateEarthTest() { ProgressionMap map = new ProgressionMap("Earth"); LocalSectorMap csol = new LocalSectorMap(map); Planet earth = csol.CreateEarth(); }
public void SerializeFileEarth() { ProgressionMap map = new ProgressionMap("Earth"); LocalSectorMap c = new LocalSectorMap(map); c.CreateEarth(); string filename = Path.Combine(TestingUtilities.Config["DataPath"], "Earth.json"); if (File.Exists(filename)) { File.Delete(filename); } using StreamWriter writer = new StreamWriter(filename); SerializeMap(map, writer); }