diff --git a/test/digraph_test.cc b/test/digraph_test.cc --- a/test/digraph_test.cc +++ b/test/digraph_test.cc @@ -20,7 +20,6 @@ #include #include #include -#include #include "test_tools.h" #include "graph_test.h" @@ -112,36 +111,6 @@ } -void checkHypercubeDigraph(int dim) { - DIGRAPH_TYPEDEFS(HypercubeDigraph); - - HypercubeDigraph G(dim); - checkGraphNodeList(G, 1 << dim); - checkGraphArcList(G, (1 << dim) * dim); - - Node n = G.nodeFromId(dim); - - checkGraphOutArcList(G, n, dim); - for (OutArcIt a(G, n); a != INVALID; ++a) - check(G.source(a) == n && - G.id(G.target(a)) == G.id(n) ^ (1 << G.dimension(a)), - "Wrong arc"); - - checkGraphInArcList(G, n, dim); - for (InArcIt a(G, n); a != INVALID; ++a) - check(G.target(a) == n && - G.id(G.source(a)) == G.id(n) ^ (1 << G.dimension(a)), - "Wrong arc"); - - checkGraphConArcList(G, (1 << dim) * dim); - - checkNodeIds(G); - checkArcIds(G); - checkGraphNodeMap(G); - checkGraphArcMap(G); -} - - void checkConcepts() { { // Checking digraph components checkConcept(); @@ -174,9 +143,6 @@ { // Checking FullDigraph checkConcept(); } - { // Checking HypercubeDigraph - checkConcept(); - } } template @@ -241,12 +207,6 @@ { // Checking FullDigraph checkFullDigraph(8); } - { // Checking HypercubeDigraph - checkHypercubeDigraph(1); - checkHypercubeDigraph(2); - checkHypercubeDigraph(3); - checkHypercubeDigraph(4); - } } int main() {