use of org.apache.flink.graph.library.metric.ChecksumHashCode in project flink by apache.
the class MaximumDegreeTest method testWithRMatGraph.
@Test
public void testWithRMatGraph() throws Exception {
Checksum checksum = undirectedRMatGraph.run(new MaximumDegree<LongValue, NullValue, NullValue>(16)).run(new ChecksumHashCode<LongValue, NullValue, NullValue>()).execute();
assertEquals(805, checksum.getCount());
assertEquals(0x0000000008028b43L, checksum.getChecksum());
}
Aggregations