36 references to ToEnumerable
xunit.assert (36)
AsyncCollectionAsserts.cs (36)
38 All(AssertHelper.ToEnumerable(collection), action); 51 All(AssertHelper.ToEnumerable(collection), action); 64 AllAsync(AssertHelper.ToEnumerable(collection), action); 77 AllAsync(AssertHelper.ToEnumerable(collection), action); 90 Collection(AssertHelper.ToEnumerable(collection), elementInspectors); 103 CollectionAsync(AssertHelper.ToEnumerable(collection), elementInspectors); 115 Contains(expected, AssertHelper.ToEnumerable(collection)); 129 Contains(expected, AssertHelper.ToEnumerable(collection), comparer); 141 Contains(AssertHelper.ToEnumerable(collection), filter); 150 Distinct(AssertHelper.ToEnumerable(collection), EqualityComparer<T>.Default); 162 Distinct(AssertHelper.ToEnumerable(collection), comparer); 174 DoesNotContain(expected, AssertHelper.ToEnumerable(collection)); 188 DoesNotContain(expected, AssertHelper.ToEnumerable(collection), comparer); 200 DoesNotContain(AssertHelper.ToEnumerable(collection), filter); 209 Empty(AssertHelper.ToEnumerable(collection)); 226 Equal(expected, AssertHelper.ToEnumerable(actual), GetEqualityComparer<T>()); 243 Equal(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), GetEqualityComparer<T>()); 262 Equal(expected, AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer))); 281 Equal(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer))); 300 Equal(expected, AssertHelper.ToEnumerable(actual), AssertEqualityComparer<T>.FromComparer(comparer)); 319 Equal(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), AssertEqualityComparer<T>.FromComparer(comparer)); 328 NotEmpty(AssertHelper.ToEnumerable(collection)); 345 NotEqual(expected, AssertHelper.ToEnumerable(actual), GetEqualityComparer<T>()); 362 NotEqual(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), GetEqualityComparer<T>()); 381 NotEqual(expected, AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer))); 400 NotEqual(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer))); 419 NotEqual(expected, AssertHelper.ToEnumerable(actual), AssertEqualityComparer<T>.FromComparer(comparer)); 438 NotEqual(AssertHelper.ToEnumerable(expected), AssertHelper.ToEnumerable(actual), AssertEqualityComparer<T>.FromComparer(comparer)); 450 Single(AssertHelper.ToEnumerable(collection)); 467 Single(AssertHelper.ToEnumerable(collection), predicate);