Example #1
0
 public void UnorderedEquals_SameContentsWithDuplicates_Yes()
 {
     list1 = new List<int>() { 1, 1, 2, 3 };
     list2 = new List<int>() { 1, 1, 2, 3 };
     Assert.IsTrue(list1.UnorderedEquals(list2));
 }
Example #2
0
 public void UnorderedEquals_DifferentContentsWithDuplicates_No()
 {
     list1 = new List<int>() { 1, 1, 2, 3 };
     list2 = new List<int>() { 1, 2, 2, 3 };
     Assert.IsFalse(list1.UnorderedEquals(list2));
 }