diff --git a/test/graph_test.cc b/test/graph_test.cc --- a/test/graph_test.cc +++ b/test/graph_test.cc @@ -192,8 +192,8 @@ GRAPH_TYPEDEFS(Graph); Graph G(width, height); - check(G.width() == width, "Wrong row number"); - check(G.height() == height, "Wrong column number"); + check(G.width() == width, "Wrong column number"); + check(G.height() == height, "Wrong row number"); for (int i = 0; i < width; ++i) { for (int j = 0; j < height; ++j) {