Added scope symbol in front of relationships

This commit is contained in:
Bartek Kryza
2021-07-24 18:46:02 +02:00
parent f9bc218d90
commit ae5f2b2006
13 changed files with 62 additions and 46 deletions

View File

@@ -49,11 +49,11 @@ TEST_CASE("t00014", "[test-case][class]")
REQUIRE_THAT(
puml, IsInstantiation(_A("A<T,std::string>"), _A("AString<float>")));
REQUIRE_THAT(
puml, IsAggregation(_A("R"), _A("A<bool,std::string>"), "boolstring"));
puml, IsAggregation(_A("R"), _A("A<bool,std::string>"), "-boolstring"));
REQUIRE_THAT(
puml, IsAggregation(_A("R"), _A("AString<float>"), "floatstring"));
REQUIRE_THAT(puml, IsAggregation(_A("R"), _A("B"), "bs"));
REQUIRE_THAT(puml, IsAggregation(_A("R"), _A("B"), "bs2"));
puml, IsAggregation(_A("R"), _A("AString<float>"), "-floatstring"));
REQUIRE_THAT(puml, IsAggregation(_A("R"), _A("B"), "#bs"));
REQUIRE_THAT(puml, IsAggregation(_A("R"), _A("B"), "+bs2"));
save_puml(
"./" + config.output_directory + "/" + diagram->name + ".puml", puml);