2016-07-31 08:43:33 +00:00
|
|
|
#include "harness.h"
|
|
|
|
|
2016-08-02 17:38:42 +00:00
|
|
|
TEST_CASE(normal_roundtrip) {
|
2016-07-31 08:43:33 +00:00
|
|
|
CHECK_LOAD("normal.slvs");
|
|
|
|
CHECK_RENDER("normal.png");
|
|
|
|
CHECK_SAVE("normal.slvs");
|
|
|
|
}
|
|
|
|
|
2016-08-02 17:38:42 +00:00
|
|
|
TEST_CASE(normal_migrate_from_v20) {
|
2016-07-31 08:43:33 +00:00
|
|
|
CHECK_LOAD("normal_v20.slvs");
|
|
|
|
CHECK_SAVE("normal.slvs");
|
|
|
|
}
|
2016-08-02 17:38:42 +00:00
|
|
|
|
2016-11-02 02:33:31 +00:00
|
|
|
TEST_CASE(normal_migrate_from_v22) {
|
|
|
|
CHECK_LOAD("normal_v22.slvs");
|
|
|
|
CHECK_SAVE("normal.slvs");
|
|
|
|
}
|
|
|
|
|
2016-08-02 17:38:42 +00:00
|
|
|
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_SAVE("reference.slvs");
|
|
|
|
}
|
2016-11-02 02:33:31 +00:00
|
|
|
|
|
|
|
TEST_CASE(reference_migrate_from_v22) {
|
|
|
|
CHECK_LOAD("reference_v22.slvs");
|
|
|
|
CHECK_SAVE("reference.slvs");
|
|
|
|
}
|