Added test case for recursive variadic template specialization
This commit is contained in:
@@ -34,12 +34,12 @@ TEST_CASE("t00012", "[test-case][class]")
|
||||
REQUIRE_THAT(puml, StartsWith("@startuml"));
|
||||
REQUIRE_THAT(puml, EndsWith("@enduml\n"));
|
||||
REQUIRE_THAT(puml, IsClassTemplate("A", "T,Ts..."));
|
||||
REQUIRE_THAT(puml, IsClassTemplate("B", "int Is..."));
|
||||
REQUIRE_THAT(puml, IsClassTemplate("B", "int... Is"));
|
||||
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("B<int Is...>"), _A("B<3,2,1>")));
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("B<int Is...>"), _A("B<1,1,1,1>")));
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("B<int... Is>"), _A("B<3,2,1>")));
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("B<int... Is>"), _A("B<1,1,1,1>")));
|
||||
REQUIRE_THAT(puml,
|
||||
IsInstantiation(_A("C<T,int Is...>"),
|
||||
IsInstantiation(_A("C<T,int... Is>"),
|
||||
_A("C<std::map<int,"
|
||||
"std::vector<std::vector<std::vector<std::string>>>>,3,3,3>")));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user