Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit e46330b

Browse files
authored
Merge pull request #114 from JuliaReinforcementLearning/auto-juliaformatter-pr
Automatic JuliaFormatter.jl run
2 parents b05e973 + 80be630 commit e46330b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/base.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,16 @@ function test_interfaces!(env)
191191
reset!(env)
192192
end
193193

194-
function test_runnable!(env, n = 1000;rng=Random.GLOBAL_RNG)
194+
function test_runnable!(env, n = 1000; rng = Random.GLOBAL_RNG)
195195
@testset "random policy with $(nameof(env))" begin
196196
reset!(env)
197197
for _ in 1:n
198198
A = legal_action_space(env)
199199
a = rand(rng, A)
200200
@test a in A
201201

202-
if ActionStyle(env) === EXPLICIT_STOCHASTIC && current_player(env) == chance_player(env)
202+
if ActionStyle(env) === EXPLICIT_STOCHASTIC &&
203+
current_player(env) == chance_player(env)
203204
@test isapprox(sum(prob(env)), 1)
204205
end
205206

test/runtests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using ReinforcementLearningBase
22
using Test
33

4-
@testset "ReinforcementLearningBase" begin
5-
end
4+
@testset "ReinforcementLearningBase" begin end

0 commit comments

Comments
 (0)