Exemplo n.º 1
0
        public void TestReverseWithNull()
        {
            var myStringObject = new MyStringClass();
            var reversedString = myStringObject.Reverse(null);

            Assert.That(reversedString, Is.Null);
        }
Exemplo n.º 2
0
        public void TestReverse()
        {
            var myStringObject = new MyStringClass();
            var reversedString = myStringObject.Reverse("hello");

            Assert.That(reversedString, Is.EqualTo("olleh"));
        }
Exemplo n.º 3
0
 public void TestReverseWithNull()
 {
     var myStringObject = new MyStringClass();
     var reversedString = myStringObject.Reverse(null);
     Assert.That(reversedString, Is.Null);
 }
Exemplo n.º 4
0
 public void TestReverse()
 {
     var myStringObject = new MyStringClass();
     var reversedString = myStringObject.Reverse("hello");
     Assert.That(reversedString, Is.EqualTo("olleh"));
 }