Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Katherine Rasmussen <[email protected]>
  • Loading branch information
bonachea and ktras authored Jan 13, 2025
1 parent d4eca55 commit 5b332d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/caf_teams_test.f90
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ function check_teams() result(result_)
call prif_get_team(level=PRIF_CURRENT_TEAM, team=t)
call prif_team_number(team=t, team_number=n)
result_ = result_ .and. &
assert_equals(int(n), -1, "prif_get_team(PRIF_CURRENT_TEAM) retrieves initial team")
assert_equals(int(n), -1, "prif_get_team(PRIF_CURRENT_TEAM) retrieves initial team when current team is initial team")

t = prif_team_type() ; n = 0 ! clear outputs
call prif_get_team(level=PRIF_PARENT_TEAM, team=t)
call prif_team_number(team=t, team_number=n)
result_ = result_ .and. &
assert_equals(int(n), -1, "prif_get_team(PRIF_PARENT_TEAM) retrieves initial team")
assert_equals(int(n), -1, "prif_get_team(PRIF_PARENT_TEAM) retrieves initial team when parent team is initial team")

which_team = merge(1_c_int64_t, 2_c_int64_t, mod(me, 2) == 0)
element_size = int(storage_size(dummy_element)/8, c_size_t)
Expand Down Expand Up @@ -132,7 +132,7 @@ function check_teams() result(result_)
call prif_get_team(level=PRIF_PARENT_TEAM, team=t)
call prif_team_number(team=t, team_number=n)
result_ = result_ .and. &
assert_equals(int(n), -1, "prif_get_team(PRIF_PARENT_TEAM) retrieves initial team")
assert_equals(int(n), -1, "prif_get_team(PRIF_PARENT_TEAM) retrieves initial team when parent team is initial team")

x = 0 ! clear outputs
call prif_num_images_with_team(team=initial_team, num_images=x)
Expand Down

0 comments on commit 5b332d0

Please sign in to comment.