Skip to content

Commit

Permalink
[DEV] including utils test, small change in experiment test
Browse files Browse the repository at this point in the history
  • Loading branch information
meudnaes committed Jun 13, 2024
1 parent 0247e67 commit b83397d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/experiment.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@testset "experiment and mesh" begin

@test xp.snaps == [1]
@test xp.snapsize == (xp.mesh.mx, xp.mesh.my, xp.mesh.mz)
# (nx, ny, nz)
@test xp.snapsize == BifrostTools.get_snapsize(xp.mesh) == (48, 48, 64)
# 8 primary, 2 aux
@test xp.num_primary_vars == 8

end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ include("read_params_snap_aux.jl")
include("stagger_operators.jl")
include("unit_conversion.jl")
include("eos_tables.jl")
include("utils.jl")

0 comments on commit b83397d

Please sign in to comment.