solvespace/test/constraint/angle/test.cpp

50 lines
1.2 KiB
C++
Raw Normal View History

#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_RENDER("normal.png");
CHECK_SAVE("normal.slvs");
}
TEST_CASE(free_in_3d_roundtrip) {
CHECK_LOAD("free_in_3d.slvs");
CHECK_RENDER("free_in_3d.png");
CHECK_SAVE("free_in_3d.slvs");
}
TEST_CASE(free_in_3d_migrate_from_v20) {
CHECK_LOAD("free_in_3d_v20.slvs");
CHECK_RENDER("free_in_3d.png");
CHECK_SAVE("free_in_3d.slvs");
}
TEST_CASE(reference_roundtrip) {
CHECK_LOAD("reference.slvs");
CHECK_RENDER("reference.png");
CHECK_SAVE("reference.slvs");
}
TEST_CASE(reference_migrate_from_v20) {
CHECK_LOAD("reference_v20.slvs");
CHECK_RENDER("reference.png");
CHECK_SAVE("reference.slvs");
}
TEST_CASE(reference_free_in_3d_roundtrip) {
CHECK_LOAD("reference_free_in_3d.slvs");
CHECK_RENDER("reference_free_in_3d.png");
CHECK_SAVE("reference_free_in_3d.slvs");
}
TEST_CASE(reference_free_in_3d_migrate_from_v20) {
CHECK_LOAD("reference_free_in_3d_v20.slvs");
CHECK_RENDER("reference_free_in_3d.png");
CHECK_SAVE("reference_free_in_3d.slvs");
}