Base:
10 references to Equals
Microsoft.Net.Http.Headers.Tests (10)
StringWithQualityHeaderValueTest.cs (10)
91
Assert.False(value1.
Equals
(null), "t; q=0.123 vs. <null>");
92
Assert.True(value1!.
Equals
(value2), "t; q=0.123 vs. t; q=0.123");
93
Assert.True(value1.
Equals
(value3), "t; q=0.123 vs. T; q=0.123");
94
Assert.False(value1.
Equals
(value4), "t; q=0.123 vs. t");
95
Assert.False(value4.
Equals
(value1), "t vs. t; q=0.123");
96
Assert.False(value1.
Equals
(value5), "t; q=0.123 vs. x; q=0.123");
97
Assert.False(value1.
Equals
(value6), "t; q=0.123 vs. t; q=0.5");
98
Assert.False(value1.
Equals
(value7), "t; q=0.123 vs. t; q=0.1234");
99
Assert.True(value4.
Equals
(value8), "t vs. T");
100
Assert.False(value4.
Equals
(value9), "t vs. T");