Commit 0ce06c26 authored by tonynsyde's avatar tonynsyde

Fixing tests

parent 57e7ca71
......@@ -200,7 +200,7 @@ BOOST_AUTO_TEST_CASE( vtk_writer_use_graph3D )
// check that match
bool test = compare("vtk_graph_v2.vtk","vtk_graph_test.vtk");
bool test = compare("vtk_graph_v2.vtk","vtk_graph_v2_test.vtk");
BOOST_REQUIRE_EQUAL(true,test);
}
......@@ -278,7 +278,7 @@ BOOST_AUTO_TEST_CASE( vtk_writer_use_graph3D_edge )
// check that match
bool test = compare("vtk_graph_v4.vtk","vtk_graph_test.vtk");
bool test = compare("vtk_graph_v4.vtk","vtk_graph_v4_test.vtk");
BOOST_REQUIRE_EQUAL(true,test);
}
......@@ -363,7 +363,7 @@ BOOST_AUTO_TEST_CASE( vtk_writer_use_graph2D )
// check that match
bool test = compare("vtk_graph_v3.vtk","vtk_graph_test.vtk");
bool test = compare("vtk_graph_v3.vtk","vtk_graph_v3_test.vtk");
BOOST_REQUIRE_EQUAL(true,test);
}
......
......@@ -138,3 +138,372 @@ LOOKUP_TABLE default
0
0
0
CELL_DATA 44
SCALARS x float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS y float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS z float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS prp1 float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS prp2 unsigned_long
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SCALARS prp3 double
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS prp4 unsigned_char
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
SCALARS prp5 long
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
# vtk DataFile Version 3.0
Graph
ASCII
DATASET POLYDATA
POINTS 8 float
0.000000 0.000000 0.000000
0.000000 0.000000 1.000000
0.000000 1.000000 0.000000
0.000000 1.000000 1.000000
1.000000 0.000000 0.000000
1.000000 0.000000 1.000000
1.000000 1.000000 0.000000
1.000000 1.000000 1.000000
VERTICES 8 16
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
LINES 36 108
2 0 6
2 0 2
2 0 3
2 0 1
2 0 4
2 0 5
2 1 3
2 1 0
2 1 5
2 1 7
2 2 6
2 2 0
2 2 7
2 2 3
2 3 2
2 3 0
2 3 7
2 3 1
2 4 0
2 4 6
2 4 7
2 4 5
2 5 4
2 5 0
2 5 1
2 5 7
2 6 4
2 6 0
2 6 2
2 6 7
2 7 6
2 7 2
2 7 4
2 7 5
2 7 1
2 7 3
POINT_DATA 8
VECTORS x float
0.000000 0.000000 0.000000
0.000000 0.000000 1.000000
0.000000 1.000000 0.000000
0.000000 1.000000 1.000000
1.000000 0.000000 0.000000
1.000000 0.000000 1.000000
1.000000 1.000000 0.000000
1.000000 1.000000 1.000000
SCALARS prp1 unsigned_long
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
SCALARS prp2 double
LOOKUP_TABLE default
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
CELL_DATA 44
SCALARS x float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS y float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS z float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS prp1 float
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
SCALARS prp2 unsigned_long
LOOKUP_TABLE default
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0