Tests.StarSystemDataTests.TestMerope C# (CSharp) Method

TestMerope() private method

private TestMerope ( ) : void
return void
        public void TestMerope()
        {
            string data = @"{""updated_at"": 1451665590, ""security"": null, ""id"": 21120, ""needs_permit"": 0, ""y"": -149.625, ""government"": null, ""simbad_ref"": ""Merope"", ""stations"": [], ""allegiance"": null, ""state"": null, ""x"": -78.59375, ""name"": ""Merope"", ""power"": null, ""faction"": null, ""primary_economy"": null, ""power_state"": null, ""population"": null, ""z"": -340.53125}";

            StarSystem starSystem = DataProviderService.StarSystemFromEDDP(data, null, null, null);

            Assert.AreEqual("Merope", starSystem.name);
            Assert.IsNull(starSystem.allegiance);
            Assert.IsNull(starSystem.government);
            Assert.IsNull(starSystem.primaryeconomy);
            Assert.AreEqual(null, starSystem.population);

            Assert.AreEqual((decimal)-78.59375, starSystem.x);
            Assert.AreEqual((decimal)-149.625, starSystem.y);
            Assert.AreEqual((decimal)-340.53125, starSystem.z);
        }