solvespace/test/constraint/horizontal/test.cpp
whitequark cdd6174cfa tests: remove CHECK_RENDER from migrate_from_v* tests.
This is a bit slow, but more importantly creates a race condition
where e.g. a failing "normal" test will be overwritten by
a succeeding "normal_migrate_from_v20".

This shouldn't ever be a problem since saving dumps the entire
internal state, or is supposed to, at least.
2016-11-02 02:40:17 +00:00

34 lines
669 B
C++

#include "harness.h"
TEST_CASE(line_roundtrip) {
CHECK_LOAD("line.slvs");
CHECK_RENDER("line.png");
CHECK_SAVE("line.slvs");
}
TEST_CASE(line_migrate_from_v20) {
CHECK_LOAD("line_v20.slvs");
CHECK_SAVE("line.slvs");
}
TEST_CASE(line_migrate_from_v22) {
CHECK_LOAD("line_v22.slvs");
CHECK_SAVE("line.slvs");
}
TEST_CASE(pt_pt_roundtrip) {
CHECK_LOAD("pt_pt.slvs");
CHECK_RENDER("pt_pt.png");
CHECK_SAVE("pt_pt.slvs");
}
TEST_CASE(pt_pt_migrate_from_v20) {
CHECK_LOAD("pt_pt_v20.slvs");
CHECK_SAVE("pt_pt.slvs");
}
TEST_CASE(pt_pt_migrate_from_v22) {
CHECK_LOAD("pt_pt_v22.slvs");
CHECK_SAVE("pt_pt.slvs");
}