Skip to content

Commit

Permalink
Specify API checks for tangle_group runs in if-else
Browse files Browse the repository at this point in the history
Signed-off-by: Larsen, Steffen <[email protected]>
  • Loading branch information
steffenlarsen committed Feb 21, 2024
1 parent b514678 commit 2fb29ef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test_plans/non_uniform_groups.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,11 @@ Check that `leader()` return type is `bool` and return value is equal to

=== The `tangle_group` class API

The `get_tangle_group` is called with the `sub_group` of the invocation. This
will only be called by the first `N` items of the sub-group, where `N` is
strictly less than the result of `get_local_range()` on the sub-group.
The `get_tangle_group` is called with the `sub_group` of the invocation.
Let `M` be the result of `get_local_range()` on this `sub_group` and let `N` be
some value strictly less than `M`. `get_tangle_group` is called it two split
control-flows in an if-else-statement, the if-branch with the first `N` items of
the sub-group and the else branch with the rest.

==== Group traits

Expand Down

0 comments on commit 2fb29ef

Please sign in to comment.