コード例 #1
0
        public void CspaCost_successfully_returns_a_float()
        {
            int             characterId = 88823;
            CharacterScopes scopes      = CharacterScopes.esi_characters_read_contacts_v1;
            IList <int>     characters  = new List <int>(2);

            SsoToken inputToken = new SsoToken {
                AccessToken = "This is a old access token", RefreshToken = "This is a old refresh token", CharacterId = characterId, CharacterScopesFlags = scopes
            };

            LatestCharacterEndpoints internalLatestCharacter = new LatestCharacterEndpoints(string.Empty, true);

            float getCharactersCspaCost = internalLatestCharacter.CspaCost(inputToken, characters);

            Assert.Equal(2950, getCharactersCspaCost);
        }