예제 #1
0
        public void Reverse_EmptyString_ReturnsEmptyString()
        {
            string expected = string.Empty;

            string actual = Base36.Reverse(string.Empty);

            Assert.That(actual, Is.EqualTo(expected));
        }
예제 #2
0
        public void Reverse_54321_Returns12345()
        {
            string expected = "12345";

            string actual = Base36.Reverse("54321");

            Assert.That(actual, Is.EqualTo(expected));
        }
예제 #3
0
 public void Reverse_Null_ThrowsArgumentException()
 {
     Assert.Throws <ArgumentException>(() => Base36.Reverse(null));
 }