runtests.jl (689B)
1 using Test 2 using LinearAlgebra 3 import Granular 4 5 function run_test(filename::String) 6 printstyled("Info: #### $filename ####\n", color=:green) 7 include(filename) 8 end 9 10 run_test("compressive_failure.jl") 11 run_test("cohesion.jl") 12 run_test("grain.jl") 13 run_test("vtk.jl") 14 run_test("collision-2floes-normal.jl") 15 run_test("collision-5floes-normal.jl") 16 run_test("collision-2floes-oblique.jl") 17 run_test("grid.jl") 18 run_test("contact-search-and-geometry.jl") 19 run_test("grid-boundaries.jl") 20 run_test("ocean.jl") 21 run_test("atmosphere.jl") 22 run_test("wall.jl") 23 run_test("packing.jl") 24 run_test("util.jl") 25 run_test("temporal.jl") 26 if Granular.hasNetCDF 27 run_test("netcdf.jl") 28 end 29 run_test("jld2.jl")