Add a test for workplane request.

This commit is contained in:
whitequark 2017-04-21 23:03:50 +00:00
parent 85b4b25278
commit fe622a1839
6 changed files with 18 additions and 0 deletions

View File

@ -58,6 +58,7 @@ set(testsuite_SOURCES
request/image/test.cpp
request/line_segment/test.cpp
request/ttf_text/test.cpp
request/workplane/test.cpp
group/link/test.cpp
group/translate_asy/test.cpp
group/translate_nd/test.cpp

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,17 @@
#include "harness.h"
TEST_CASE(normal_roundtrip) {
CHECK_LOAD("normal.slvs");
CHECK_RENDER("normal.png");
CHECK_SAVE("normal.slvs");
}
TEST_CASE(normal_migrate_from_v20) {
CHECK_LOAD("normal_v20.slvs");
CHECK_SAVE("normal.slvs");
}
TEST_CASE(normal_migrate_from_v22) {
CHECK_LOAD("normal_v22.slvs");
CHECK_SAVE("normal.slvs");
}