Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit 0fbee0d

Browse files
committed
add test env.current_t == 1 after reset!
1 parent 72e260f commit 0fbee0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/environments/wrappers/wrappers.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
n -= 1
3838
@test n >= 0
3939
end
40+
41+
RLBase.reset!(env′)
42+
@test env′.current_t == 1
4043
end
4144

4245
@testset "RewardOverriddenEnv" begin

0 commit comments

Comments
 (0)