Added test cases for JSON class generators
This commit is contained in:
@@ -55,6 +55,12 @@ TEST_CASE("t00035", "[test-case][class]")
|
||||
|
||||
using namespace json;
|
||||
|
||||
REQUIRE(IsClass(j, "Top"));
|
||||
REQUIRE(IsClass(j, "Bottom"));
|
||||
REQUIRE(IsClass(j, "Center"));
|
||||
REQUIRE(IsClass(j, "Left"));
|
||||
REQUIRE(IsClass(j, "Right"));
|
||||
|
||||
save_json(config.output_directory() + "/" + diagram->name + ".json", j);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user