Exemple #1
0
 public void TestCompareTrue()
 {
     Assert.IsTrue(AnagramNumbers.Compare(54321, 12345));
     Assert.IsTrue(AnagramNumbers.Compare(54321, 54312));
     Assert.IsTrue(AnagramNumbers.Compare(543212, 123245));
     Assert.IsTrue(AnagramNumbers.Compare(54321233, 12324335));
 }
Exemple #2
0
 public void TestCompareFalse()
 {
     Assert.IsFalse(AnagramNumbers.Compare(12345, 32144));
     Assert.IsFalse(AnagramNumbers.Compare(123456, 32145));
 }