assertEquals(partForKey3, part.getPartition(k4, null, numReduces));
assertEquals(partForKey3, part.getPartition(k5, null, numReduces));
}
public void testUrlOnlySorting() throws IOException {
UrlOnlyComparator comp = new UrlOnlyComparator();
UrlWithScore k1 = new UrlWithScore("http://example.org/1", 1f);
UrlWithScore k2 = new UrlWithScore("http://example.org/1", 2f);
UrlWithScore k3 = new UrlWithScore("http://example.org/2", 1f);
UrlWithScore k4 = new UrlWithScore("http://example.org/2", 2f);