diff --git a/test/no_vortex_test.jl b/test/no_vortex_test.jl index 585e1ad..0376ba9 100644 --- a/test/no_vortex_test.jl +++ b/test/no_vortex_test.jl @@ -6,3 +6,5 @@ x = LinRange(-Lx/2,Lx/2, Nx+1)[1:end-1]; y = LinRange(-Ly/2,Ly/2, Ny+1)[1:end-1] psi = one.(x*y') |> complex vfound = findvortices(Torus(psi,x,y), periodic=true) + +@test vfound == PointVortex[] \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index 86c7137..e8f20d8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,7 @@ using VortexDistributions, Test, SafeTestsets +@safetestset "No Vortex Fallback" begin include("no_vortex_test.jl") end + @safetestset "Point Vortex" begin include("point_vortex_test.jl") end @safetestset "Single Vortex Accuracy" begin include("single_vort_acc_test.jl") end