Skip to content

Commit

Permalink
Added test for env in param construction
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeLam committed Nov 23, 2021
1 parent 0d15d66 commit 658bba5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/lsm_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ using CUDA
@test isa(y, Vector{Float64})
end

@testset "Params" begin
cartpole_params = LSM_Params(4,2,"cartpole")
default_params = LSM_Params(4,2)

@test cartpole_params == default_params
end

@testset "Visual" begin
params = LSM_Params(4,2)
lsm = LSM(params, visual=true)
Expand Down

0 comments on commit 658bba5

Please sign in to comment.