Base:
10 references to Equals
Microsoft.Net.Http.Headers.Tests (10)
ContentRangeHeaderValueTest.cs (10)
132Assert.False(range1.Equals(null), "bytes 1-2/5 vs. <null>"); 133Assert.False(range1!.Equals(range2), "bytes 1-2/5 vs. bytes 1-2/*"); 134Assert.False(range1.Equals(range3), "bytes 1-2/5 vs. bytes */5"); 135Assert.False(range2.Equals(range3), "bytes 1-2/* vs. bytes */5"); 136Assert.True(range1.Equals(range4), "bytes 1-2/5 vs. BYTES 1-2/5"); 137Assert.True(range4.Equals(range1), "BYTES 1-2/5 vs. bytes 1-2/5"); 138Assert.False(range1.Equals(range5), "bytes 1-2/5 vs. myunit 1-2/5"); 139Assert.False(range1.Equals(range6), "bytes 1-2/5 vs. bytes 1-3/5"); 140Assert.False(range1.Equals(range7), "bytes 1-2/5 vs. bytes 2-2/5"); 141Assert.False(range1.Equals(range8), "bytes 1-2/5 vs. bytes 1-2/6");