Skip to content

Commit

Permalink
Adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-fischer committed Aug 23, 2023
1 parent b58909c commit 8006b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/POMDPTools/test/common_rl_integration/test_common_rl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ end
@test RL.actions(env) == [-1, 1]
@test RL.valid_actions(env) == [-1, 1]
@test RL.observe(env) == [2]
@test RL.state(env) == (1,2)
@test RL.state(env) == [1]
RL.setstate!(env, RL.state(env))
@test RL.act!(env, 1) == 2
@test !RL.terminated(env)
Expand All @@ -76,7 +76,7 @@ end
@test RL.observe(env) == [4]
@test RL.terminated(env)

RL.setstate!(env, (2,3))
RL.setstate!(env, [2])
@test RL.observe(env) == [3]

env2 = RL.clone(env)
Expand Down

0 comments on commit 8006b6b

Please sign in to comment.