Пример #1
0
        public void Moon_successfully_returns_a_moon()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            V1UniverseMoon returnModel = internalLatestUniverse.Moon(int.MinValue);

            Assert.NotNull(returnModel);
            Assert.Equal(40000042, returnModel.MoonId);
            Assert.Equal("Akpivem I - Moon 1", returnModel.Name);
            Assert.Equal(58605102008, returnModel.Position.X);
            Assert.Equal(-3066616285, returnModel.Position.Y);
            Assert.Equal(-55193617920, returnModel.Position.Z);
            Assert.Equal(30000003, returnModel.SystemId);
        }