From 58bfea514934926c79eb62e5dec989a996e01b47 Mon Sep 17 00:00:00 2001 From: Jeremiah Lewis <--get> Date: Fri, 22 Mar 2024 16:57:53 +0100 Subject: [PATCH] fix test --- test/episodes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/episodes.jl b/test/episodes.jl index f93c433..ef7855c 100644 --- a/test/episodes.jl +++ b/test/episodes.jl @@ -115,7 +115,7 @@ using Test @test eb.step_numbers[end] == 1 @test eb.sampleable_inds == [1,1,1,1,1,0,0] @test eb[:action][6] == 6 - @test eb[:next_action][6] == 6 + @test eb[:next_action][5] == 6 @test eb[6][:reward] == 0 #6 is not a valid index, the reward there is dummy, filled as zero ep2_len = 0 for (j,i) = enumerate(8:11)