Example #1
0
 public void checking_order_of_unordered_desc_collection_works() =>
 OrderChecks.IsOrderedAscending(
     new long[] { 1, 3, 2 },
     Comparers.LongsComparer,
     Comparers.LongsEquals).ShouldBeFalse();
Example #2
0
 public void checking_order_of_ordered_asc_collection_works() =>
 OrderChecks.IsOrderedAscending(
     new long[] { 1, 2, 3 },
     Comparers.LongsComparer,
     Comparers.LongsEquals).ShouldBeTrue();