From 8006b6b45871ed184103ef441b5ea1c3b1ef212a Mon Sep 17 00:00:00 2001 From: Johannes Fischer Date: Wed, 23 Aug 2023 16:25:12 +0200 Subject: [PATCH] Adapt test --- lib/POMDPTools/test/common_rl_integration/test_common_rl.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/POMDPTools/test/common_rl_integration/test_common_rl.jl b/lib/POMDPTools/test/common_rl_integration/test_common_rl.jl index 3ef1fe10..f276d704 100644 --- a/lib/POMDPTools/test/common_rl_integration/test_common_rl.jl +++ b/lib/POMDPTools/test/common_rl_integration/test_common_rl.jl @@ -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) @@ -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)