Skip to content

Commit

Permalink
add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
warisa-r committed Aug 31, 2024
1 parent 99a3882 commit bf6ef39
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ using ShockwaveDetection
@testset "Compiles" begin
using ShockwaveDetection
end

@testset "1D shock detection" begin
include("../examples/sod_shock_tube_1d.jl")
rm("density_velocity_pressure_over_time_with_shock_positions.gif")
end

@testset "2D shock detection" begin
include("../examples/sod_shock_tube_2d.jl")
end

0 comments on commit bf6ef39

Please sign in to comment.