Base:
7 references to Equals
Microsoft.Net.Http.Headers.Tests (7)
RangeHeaderValueTest.cs (7)
80
Assert.False(range1.
Equals
(null), "bytes=1-2 vs. <null>");
81
Assert.True(range1!.
Equals
(range2), "bytes=1-2 vs. BYTES=1-2");
82
Assert.False(range1.
Equals
(range3), "bytes=1-2 vs. bytes=1-");
83
Assert.False(range1.
Equals
(range4), "bytes=1-2 vs. bytes=-2");
84
Assert.False(range1.
Equals
(range5), "bytes=1-2 vs. bytes=1-2,3-4");
85
Assert.True(range5.
Equals
(range6), "bytes=1-2,3-4 vs. bytes=3-4,1-2");
86
Assert.False(range1.
Equals
(range7), "bytes=1-2 vs. other=1-2");