Example #1
0
 public static T AreEqual <T>(IEnumerator <T> values)
 {
     (var first, var rest) = Utils.FirstRest(values);
     AssertPlus.AreEqual(first, rest);
     return(first);
 }
Example #2
0
 public static T AreEqual <T>(IEnumerable <T> values)
 {
     return(AssertPlus.AreEqual(values.GetEnumerator()));
 }
Example #3
0
 public static T AreEqual <T>(T first, IEnumerable <T> others)
 {
     return(AssertPlus.AreEqual(first, others.GetEnumerator()));
 }