1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#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_old_version.slvs");
}
TEST_CASE(normal_migrate_from_v22) {
CHECK_LOAD("normal_v22.slvs");
CHECK_SAVE("normal_old_version.slvs");
}
TEST_CASE(other_roundtrip) {
CHECK_LOAD("other.slvs");
CHECK_RENDER("other.png");
CHECK_SAVE("other.slvs");
}
TEST_CASE(other_migrate_from_v20) {
CHECK_LOAD("other_v20.slvs");
CHECK_SAVE("other.slvs");
}
TEST_CASE(other_migrate_from_v22) {
CHECK_LOAD("other_v22.slvs");
CHECK_SAVE("other.slvs");
}
|