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); }