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