Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Nov 6, 2024
1 parent 08e16be commit d8a8537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/coarsening.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
tgrid = CartesianGrid(cart(0.0, 0.0), cart(10.0, 10.0), dims=(10, 5))
@test coarsen(grid, RegularCoarsening(2, 4)) == tgrid

# non-multiple values
# non-multiple dimensions
grid = CartesianGrid(cart(0, 0), cart(11, 17), dims=(11, 17))
tgrid = CartesianGrid(cart(0, 0), cart(11, 17), dims=(3, 6))
@test coarsen(grid, RegularCoarsening(5, 3)) == tgrid
Expand All @@ -34,7 +34,7 @@
tfgrid = TransformedGrid(grid, Identity())
@test coarsen(tfgrid, RegularCoarsening(2, 4, 5)) == coarsen(grid, RegularCoarsening(2, 4, 5))

# non-multiple values
# non-multiple dimensions
grid = CartesianGrid(cart(0, 0, 0), cart(11, 17, 23), dims=(11, 17, 23))
tgrid = CartesianGrid(cart(0, 0, 0), cart(11, 17, 23), dims=(2, 4, 8))
@test coarsen(grid, RegularCoarsening(7, 5, 3)) == tgrid
Expand Down

0 comments on commit d8a8537

Please sign in to comment.