public void ToStringTest() { var expected = "6Q======"; var data = new byte[] { 244 }; var actual = Base32Convert.ToString(data); Assert.Equal(expected, actual); }
public void ToStringPartialTest() { var expected = "6Q======"; var data = new byte[] { 255, 244, 255 }; var actual = Base32Convert.ToString(data, 1, 1); Assert.Equal(expected, actual); }