Skip to content

Commit

Permalink
another addition to increase coverage in BarotropicQG module
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Aug 31, 2019
1 parent 00aeb25 commit 0a0d667
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_barotropicqg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,8 @@ function test_bqg_energyenstrophy()
energyzeta0 = BarotropicQG.energy(prob)
enstrophyzeta0 = BarotropicQG.enstrophy(prob)

isapprox(energyzeta0, energy_calc, rtol=1e-13) && isapprox(enstrophyzeta0, enstrophy_calc, rtol=1e-13)
isapprox(energyzeta0, energy_calc, rtol=1e-13) && isapprox(enstrophyzeta0, enstrophy_calc, rtol=1e-13) &&
BarotropicQG.addforcing!(prob.timestepper.N, sol, cl.t, cl, v, p, g)==nothing
end

function test_bqg_meanenergyenstrophy()
Expand Down

0 comments on commit 0a0d667

Please sign in to comment.