Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from JuliaReinforcementLearning/test_envinterface
Browse files Browse the repository at this point in the history
import relevant methods
  • Loading branch information
jbrea authored Sep 7, 2018
2 parents 443a7aa + 73f12c2 commit cb3cd76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function test_envinterface(env)
@eval Main begin
import ReinforcementLearningBase: reset!, interact!, getstate, actionspace, sample
@testset "$(typeof($env)) interface test" begin
res = reset!($env)
@test typeof(res) == NamedTuple{(:observation,),
Expand Down

0 comments on commit cb3cd76

Please sign in to comment.