Base:
7 references to Equals
Microsoft.Net.Http.Headers.Tests (7)
RangeItemHeaderValueTest.cs (7)
78
Assert.False(rangeItem1.
Equals
(rangeItem2), "1-2 vs. 1-.");
79
Assert.False(rangeItem2.
Equals
(rangeItem1), "1- vs. 1-2.");
80
Assert.False(rangeItem1.
Equals
(null), "1-2 vs. null.");
81
Assert.False(rangeItem1!.
Equals
(rangeItem3), "1-2 vs. -2.");
82
Assert.False(rangeItem3.
Equals
(rangeItem1), "-2 vs. 1-2.");
83
Assert.False(rangeItem1.
Equals
(rangeItem4), "1-2 vs. 2-2.");
84
Assert.True(rangeItem1.
Equals
(rangeItem5), "1-2 vs. 1-2.");