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