コード例 #1
0
 @Test
 public void verifyThatResultIsInIncresingSortOrder() {
   algo.countSccUsingGraph(TEST_FINISHING_TIME);
   assertThat(algo.getResult(), is(SccAdjacencyListBuilderTestData.TEST_RESULT));
 }
コード例 #2
0
 @Test
 public void verifyThatLeaderCouterWorksProperly() {
   algo.countSccUsingGraph(TEST_FINISHING_TIME);
   assertThat(algo.getLeaderCounters(), is(SccAdjacencyListBuilderTestData.TEST_LEADER_COTUNTERS));
 }