Esempio n. 1
0
        public async Task StargateAsync_successfully_returns_a_stargate()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            V1UniverseStargate returnModel = await internalLatestUniverse.StargateAsync(int.MinValue);

            Assert.NotNull(returnModel);
            Assert.Equal(50000056, returnModel.Destination.StargateId);
            Assert.Equal(30000001, returnModel.Destination.SystemId);
            Assert.Equal("Stargate (Tanoo)", returnModel.Name);
            Assert.Equal(-101092761600, returnModel.Position.X);
            Assert.Equal(5279539200, returnModel.Position.Y);
            Assert.Equal(1550503403520, returnModel.Position.Z);
            Assert.Equal(50000342, returnModel.StargateId);
            Assert.Equal(30000003, returnModel.SystemId);
            Assert.Equal(29624, returnModel.TypeId);
        }