Esempio n. 1
0
        public void Constellation_successfully_returns_a_constellation()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            V1UniverseConstellation returnModel = internalLatestUniverse.Constellation(int.MinValue);

            Assert.NotNull(returnModel);
            Assert.Equal(20000009, returnModel.ConstellationId);
            Assert.Equal("Mekashtad", returnModel.Name);
            Assert.Equal(67796138757472320, returnModel.Position.X);
            Assert.Equal(-70591121348560960, returnModel.Position.Y);
            Assert.Equal(-59587016159270070, returnModel.Position.Z);
            Assert.Equal(10000001, returnModel.RegionId);
            Assert.Equal(2, returnModel.Systems.Count);
            Assert.Equal(20000302, returnModel.Systems[0]);
            Assert.Equal(20000303, returnModel.Systems[1]);
        }