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