예제 #1
0
 public void IsAnagramTestDifferentLength()
 {
     Assert.AreEqual(false, IsAnagramClass.IsAnagram("apple", "pale"));
 }
예제 #2
0
 public void IsAnagramTestUpperCase()
 {
     Assert.AreEqual(true, IsAnagramClass.IsAnagram("Buckethead", "buckethead"));
 }
예제 #3
0
 public void IsAnagramTestSortedAndUpperCase()
 {
     Assert.AreEqual(true, IsAnagramClass.IsAnagram("Twoo", "Woot"));
 }
예제 #4
0
 public void IsAnagramTestSorted()
 {
     Assert.AreEqual(true, IsAnagramClass.IsAnagram("foefet", "toffee"));
 }