예제 #1
0
        public void HLBase64_shouldEncodeAndDecodeText()
        {
            string text = "Sample text for testing.";

            Assert.That(HLBase64.Decode(HLBase64.Encode(text)), Is.EqualTo(text));
        }
예제 #2
0
 public void HLBase64_providedSampleText_shouldEncodeIt(string input, string expectedOutput)
 {
     Assert.That(HLBase64.Encode(input), Is.EqualTo(expectedOutput));
 }