Refactor HasCall sequence diagram test cases matcher

This commit is contained in:
Bartek Kryza
2022-12-11 22:32:32 +01:00
parent e5e7df43e8
commit fb2bc68d39
3 changed files with 52 additions and 23 deletions

View File

@@ -42,9 +42,6 @@ TEST_CASE("t20018", "[test-case][sequence]")
"__print(int)__"));
REQUIRE_THAT(puml,
HasCall(_A("Factorial<5>"), _A("Factorial<4>"), "__print(int)__"));
REQUIRE_THAT(puml,
!HasCallWithResponse(
_A("Factorial<5>"), _A("Factorial<4>"), "__print(int)__"));
REQUIRE_THAT(puml,
HasCall(_A("Factorial<4>"), _A("Factorial<3>"), "__print(int)__"));
REQUIRE_THAT(puml,