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