14 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (14)
MemoryAssertsTests.cs (14)
446 assertFailure(() => Assert.EndsWith("hey".AsMemory(), "Hello, world!".AsMemory()));
447 assertFailure(() => Assert.EndsWith("hey".AsMemory(), "Hello, world!".Memoryify()));
448 assertFailure(() => Assert.EndsWith("hey".Memoryify(), "Hello, world!".AsMemory()));
449 assertFailure(() => Assert.EndsWith("hey".Memoryify(), "Hello, world!".Memoryify()));
468 assertFailure(() => Assert.EndsWith("WORLD!".AsMemory(), "world!".AsMemory()));
469 assertFailure(() => Assert.EndsWith("WORLD!".AsMemory(), "world!".Memoryify()));
470 assertFailure(() => Assert.EndsWith("WORLD!".Memoryify(), "world!".AsMemory()));
471 assertFailure(() => Assert.EndsWith("WORLD!".Memoryify(), "world!".Memoryify()));
499 assertFailure(() => Assert.EndsWith("foo".AsMemory(), null));
500 assertFailure(() => Assert.EndsWith("foo".Memoryify(), null));
522 assertFailure(() => Assert.EndsWith(expected.AsMemory(), actual.AsMemory()));
523 assertFailure(() => Assert.EndsWith(expected.AsMemory(), actual.Memoryify()));
524 assertFailure(() => Assert.EndsWith(expected.Memoryify(), actual.AsMemory()));
525 assertFailure(() => Assert.EndsWith(expected.Memoryify(), actual.Memoryify()));