Exemple #1
0
        public void Ids_successfully_returns_a_list_of_strings()
        {
            LatestUniverseEndpoints internalLatestUniverse = new LatestUniverseEndpoints(string.Empty, true);

            V1UniverseNamesToIds returnModel = internalLatestUniverse.Ids(new List <string>());

            Assert.Equal(2, returnModel.Characters.Count);
            Assert.Equal(95465499, returnModel.Characters[0].Id);
            Assert.Equal("CCP Bartender", returnModel.Characters[0].Name);
            Assert.Equal(2112625428, returnModel.Characters[1].Id);
            Assert.Equal("CCP Zoetrope", returnModel.Characters[1].Name);
            Assert.Equal(1, returnModel.Systems.Count);
            Assert.Equal(30000142, returnModel.Systems[0].Id);
            Assert.Equal("Jita", returnModel.Systems[0].Name);
        }