16 references to NotEqual
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ExpressionHelperTest.cs (1)
431Assert.NotEqual(text1, text2, StringComparer.Ordinal);
Microsoft.CodeAnalysis.UnitTests (3)
InternalUtilities\AdditionalTextComparerTests.cs (3)
44Assert.NotEqual(text1, text2, AdditionalTextComparer.Instance); 57Assert.NotEqual(text1, text2, AdditionalTextComparer.Instance); 78Assert.NotEqual(text1, text2, AdditionalTextComparer.Instance);
Microsoft.DotNet.XUnitAssert.Tests (6)
EqualityAssertsTests.cs (6)
2350 Assert.Throws<ArgumentNullException>("comparer", () => Assert.NotEqual(1, 2, default(IEqualityComparer<int>)!)); 2356 var ex = Record.Exception(() => Assert.NotEqual(42, 21, new Comparer<int>(true))); 2370 Assert.NotEqual(42, 42, new Comparer<int>(false)); 2390 var ex = Record.Exception(() => Assert.NotEqual(42, 42, new ThrowingIntComparer())); 2413 var ex = Record.Exception(() => Assert.NotEqual(new[] { 1, 2 }, new[] { 1, 2 }, new ThrowingEnumerableComparer())); 2436 var ex = Record.Exception(() => Assert.NotEqual("42", "42", new ThrowingStringComparer()));
xunit.assert (6)
AsyncCollectionAsserts.cs (2)
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)));
CollectionAsserts.cs (2)
568 NotEqual(expected, actual, GetEqualityComparer<IEnumerable<T>>()); 587 NotEqual(expected, actual, GetEqualityComparer<IEnumerable<T>>(new AssertEqualityComparerAdapter<T>(comparer)));
EqualityAsserts.cs (2)
616 NotEqual(expected, actual, GetEqualityComparer<T>()); 639 NotEqual(expected, actual, AssertEqualityComparer<T>.FromComparer(comparer));