Base:
7 references to Equals
Microsoft.Net.Http.Headers.Tests (7)
RangeConditionHeaderValueTest.cs (7)
83
Assert.False(rangeCondition1.
Equals
(null), "\"x\" vs. <null>");
84
Assert.True(rangeCondition1!.
Equals
(rangeCondition2), "\"x\" vs. \"x\"");
85
Assert.False(rangeCondition1.
Equals
(rangeCondition3), "\"x\" vs. date");
86
Assert.False(rangeCondition3.
Equals
(rangeCondition1), "date vs. \"x\"");
87
Assert.False(rangeCondition3.
Equals
(rangeCondition4), "date vs. different date");
88
Assert.True(rangeCondition3.
Equals
(rangeCondition5), "date vs. date");
89
Assert.False(rangeCondition1.
Equals
(rangeCondition6), "\"x\" vs. W/\"x\"");