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); }
public void ToCharArrayTest() { var expected = "6Q======".ToCharArray(); var data = new byte[] { 244 }; var actual = Base32Convert.ToCharArray(data); Assert.Equal(expected, actual); }