예제 #1
0
        public async Task PlanetAsync_successfully_returns_a_planet()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            V1UniversePlanet returnModel = await internalLatestUniverse.PlanetAsync(int.MinValue);

            Assert.NotNull(returnModel);
            Assert.Equal("Akpivem III", returnModel.Name);
            Assert.Equal(40000046, returnModel.PlanetId);
            Assert.Equal(-189226344497, returnModel.Position.X);
            Assert.Equal(9901605317, returnModel.Position.Y);
            Assert.Equal(-254852632979, returnModel.Position.Z);
            Assert.Equal(30000003, returnModel.SystemId);
            Assert.Equal(13, returnModel.TypeId);
        }