Exemple #1
0
        public void TestReverseWithNull()
        {
            var reverse   = new MyStringClass();
            var strResult = reverse.Reverse(null);

            Assert.That(strResult, Is.Null);
        }
Exemple #2
0
        public void TestReverse()
        {
            var reverse   = new MyStringClass();
            var strResult = reverse.Reverse("hello");

            Assert.That(strResult, Is.EqualTo("olleh"));
        }