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