StringAssertsTests.cs (27)
42 verify(() => Assert.Contains("WORLD", "Hello, world!"));
44 verify(() => Assert.Contains("WORLD".Memoryify(), "Hello, world!".Memoryify()));
45 verify(() => Assert.Contains("WORLD".AsMemory(), "Hello, world!".Memoryify()));
46 verify(() => Assert.Contains("WORLD".Memoryify(), "Hello, world!".AsMemory()));
47 verify(() => Assert.Contains("WORLD".AsMemory(), "Hello, world!".AsMemory()));
48 verify(() => Assert.Contains("WORLD".Spanify(), "Hello, world!".Spanify()));
49 verify(() => Assert.Contains("WORLD".AsSpan(), "Hello, world!".Spanify()));
50 verify(() => Assert.Contains("WORLD".Spanify(), "Hello, world!".AsSpan()));
51 verify(() => Assert.Contains("WORLD".AsSpan(), "Hello, world!".AsSpan()));
71 verify(() => Assert.Contains("hey", "Hello, world!"));
73 verify(() => Assert.Contains("hey".Memoryify(), "Hello, world!".Memoryify()));
74 verify(() => Assert.Contains("hey".AsMemory(), "Hello, world!".Memoryify()));
75 verify(() => Assert.Contains("hey".Memoryify(), "Hello, world!".AsMemory()));
76 verify(() => Assert.Contains("hey".AsMemory(), "Hello, world!".AsMemory()));
77 verify(() => Assert.Contains("hey".Spanify(), "Hello, world!".Spanify()));
78 verify(() => Assert.Contains("hey".AsSpan(), "Hello, world!".Spanify()));
79 verify(() => Assert.Contains("hey".Spanify(), "Hello, world!".AsSpan()));
80 verify(() => Assert.Contains("hey".AsSpan(), "Hello, world!".AsSpan()));
117 verify(() => Assert.Contains(expected, actual));
119 verify(() => Assert.Contains(expected.Memoryify(), actual.Memoryify()));
120 verify(() => Assert.Contains(expected.AsMemory(), actual.Memoryify()));
121 verify(() => Assert.Contains(expected.Memoryify(), actual.AsMemory()));
122 verify(() => Assert.Contains(expected.AsMemory(), actual.AsMemory()));
123 verify(() => Assert.Contains(expected.Spanify(), actual.Spanify()));
124 verify(() => Assert.Contains(expected.AsSpan(), actual.Spanify()));
125 verify(() => Assert.Contains(expected.Spanify(), actual.AsSpan()));
126 verify(() => Assert.Contains(expected.AsSpan(), actual.AsSpan()));