bool TestCheckGraphIsDisconnectedGraph::run()
{
    PREPARE_SUBTESTS();
    RUN_SUBTEST(check_graph_is_disconnected_not_or, "Check not oriented graph is disconnected");
    RUN_SUBTEST(check_graph_is_disconnected_or, "Check oriented graph is disconnected");
    return SUBTESTS_RESULT;
}
예제 #2
0
bool TestSearchIncidentArcs::run()
{
    PREPARE_SUBTESTS();
    RUN_SUBTEST(check_search_incident_edges, "Search incident edges");
    RUN_SUBTEST(check_search_incident_arcs, "Search incident arcs");

    return SUBTESTS_RESULT;
}
예제 #3
0
bool TestGraphModify::run()
{
    PREPARE_SUBTESTS();
    RUN_SUBTEST(check_vertex_creation, "Create vertex");
    RUN_SUBTEST(check_arc_creation, "Create arc");
    RUN_SUBTEST(check_adjacency, "Elements adjacency");

    return SUBTESTS_RESULT;
}
예제 #4
0
bool TestFindConnComp::run()
{
    PREPARE_SUBTESTS();
    RUN_SUBTEST(check_find_conn_comp, "Find connective components");

    return SUBTESTS_RESULT;
}