Add a test for workplane request.
This commit is contained in:
parent
85b4b25278
commit
fe622a1839
@ -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
|
||||
|
BIN
test/request/workplane/normal.png
Normal file
BIN
test/request/workplane/normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
test/request/workplane/normal.slvs
Normal file
BIN
test/request/workplane/normal.slvs
Normal file
Binary file not shown.
BIN
test/request/workplane/normal_v20.slvs
Normal file
BIN
test/request/workplane/normal_v20.slvs
Normal file
Binary file not shown.
BIN
test/request/workplane/normal_v22.slvs
Normal file
BIN
test/request/workplane/normal_v22.slvs
Normal file
Binary file not shown.
17
test/request/workplane/test.cpp
Normal file
17
test/request/workplane/test.cpp
Normal 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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user