assertThat(comp.compare(high, low), greaterThan(0));
}
@Test
public void testChannelComparator() {
Symbol foo = Symbol.of("foo");
ScoredId low = new ScoredIdBuilder(1, 5).addChannel(foo, 2.5).build();
ScoredId high = new ScoredIdBuilder(2, 5).addChannel(foo, 3.5).build();
ScoredId missing = new ScoredIdBuilder(3, 5).build();
Ordering<ScoredId> comp = ScoredIds.channelOrder(foo);
assertThat(comp.compare(low, low), equalTo(0));