Skip to content

Commit

Permalink
test warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Jul 23, 2018
1 parent 048dd1a commit 4e3154e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runtests_basic_value_iteration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,15 @@ function test_not_include_Q()
return isapprox(ut, policy.util, rtol=1e-3)
end

function test_warning()
mdp = GridWorld()
solver = ValueIterationSolver()
println("There should be a warning bellow: ")
solve(solver, mdp, verbose=true)
end

@test test_complex_gridworld() == true
@test test_simple_grid() == true
@test test_init_solution() == true
@test test_not_include_Q() == true
test_warning()

0 comments on commit 4e3154e

Please sign in to comment.