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