Exemplo n.º 1
0
        public void GetMaxCharCountTest()
        {
            var alphabet      = BaseNAlphabet.Base64UrlAlphabet;
            var baseNEncoding = new BaseNEncoding(alphabet, "name");
            var expected      = alphabet.DecodingBlockSize * 5;
            var actual        = baseNEncoding.GetMaxCharCount(alphabet.EncodingBlockSize * 5);

            Assert.Equal(expected, actual);
        }