Exemple #1
0
        public void ToCharArrayPartialTest()
        {
            var expected = "6Q======".ToCharArray();
            var data     = new byte[] { 255, 244, 255 };

            var actual = Base32Convert.ToCharArray(data, 1, 1);

            Assert.Equal(expected, actual);
        }
Exemple #2
0
        public void ToCharArrayTest()
        {
            var expected = "6Q======".ToCharArray();
            var data     = new byte[] { 244 };

            var actual = Base32Convert.ToCharArray(data);

            Assert.Equal(expected, actual);
        }