Skip to content

Commit

Permalink
format a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Jul 4, 2024
1 parent a23128f commit 211c888
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/test_boundary_conditions3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ end
@test sum(!iszero(Vy[i, end, j]) for i in axes(Vy,1), j in axes(Vy,2)) == 0
@test sum(!iszero(Vz[i, j, 1]) for i in axes(Vz,1), j in axes(Vz,3)) == 0
@test sum(!iszero(Vz[i, j, end]) for i in axes(Vz,1), j in axes(Vz,3)) == 0
@test @views Vx[:, 1, :] == -Vx[:, 2, :]
@test @views Vx[:, end, :] == -Vx[:, end - 1, :]
@test @views Vx[:, :, 1] == -Vx[:, :, 2]
@test @views Vx[:, :, end] == -Vx[:, :, end - 1]
@test @views Vy[1 , :, :] == -Vy[2 , :, :]
@test @views Vy[end , :, :] == -Vy[end - 1, :, :]
@test @views Vy[:, :, 1] == -Vy[:, :, 2]
@test @views Vy[:, :, end] == -Vy[:, :, end - 1]
@test @views Vz[:, 1, :] == -Vz[:, 2, :]
@test @views Vz[:, end, :] == -Vz[:, end - 1, :]
@test @views Vz[ 1, :, :] == -Vz[ 2, :, :]
@test @views Vz[ end, :, :] == -Vz[end - 1, :, :]
@test @views Vx[ :, 1, :] == -Vx[ :, 2, :]
@test @views Vx[ :, end, :] == -Vx[ :, end - 1, :]
@test @views Vx[ :, :, 1] == -Vx[ :, :, 2]
@test @views Vx[ :, :, end] == -Vx[ :, :, end - 1]
@test @views Vy[ 1, :, :] == -Vy[ 2, :, :]
@test @views Vy[end, :, :] == -Vy[end - 1, :, :]
@test @views Vy[ :, :, 1] == -Vy[ :, :, 2]
@test @views Vy[ :, :, end] == -Vy[ :, :, end - 1]
@test @views Vz[ :, 1, :] == -Vz[ :, 2, :]
@test @views Vz[ :, end, :] == -Vz[ :, end - 1, :]
@test @views Vz[ 1, :, :] == -Vz[ 2, :, :]
@test @views Vz[end, :, :] == -Vz[end - 1, :, :]
else
@test true === true
end
Expand Down

0 comments on commit 211c888

Please sign in to comment.