Пример #1
0
 public void CheckEqual_ReturnsTrueOnExactlyEqualInput()
 {
     Assert.IsTrue(RepeatCounter.CheckEqual("Kitten", "Kitten"));
     Assert.IsFalse(RepeatCounter.CheckEqual("Kitten", "Puppy"));
 }
Пример #2
0
 public void CheckEqual_IgnoresNonLetters()
 {
     Assert.IsTrue(RepeatCounter.CheckEqual("Kitten!!!", "Kitten."));
 }
Пример #3
0
 public void CheckEqual_ReturnsFalseOnBadOrEmptyInput()
 {
     Assert.IsFalse(RepeatCounter.CheckEqual("", ""));
     Assert.IsFalse(RepeatCounter.CheckEqual("123", "123"));
 }
Пример #4
0
 public void CheckEqual_IsCaseInsensitive()
 {
     Assert.IsTrue(RepeatCounter.CheckEqual("kitten", "KIttEn"));
 }