public void DeBase64Test() { string str = "验证此测试方法的正确性。"; string actual; string expected; actual = EncodeUtil.ToBase64(str); expected = EncodeUtil.DeBase64(actual); Assert.AreEqual(expected, str); }
public void DeBase64Test() { string str = "验证此测试方法的正确性。"; string actual; string expected; actual = EncodeUtil.ToBase64(str); expected = EncodeUtil.DeBase64(actual); Assert.AreEqual(expected, str); }