Skip to content

Commit e0ca964

Browse files
committed
mark a tests apparently broken by Distributions as broken
1 parent a52e944 commit e0ca964

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/update.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343

4444
@testset "Update personal best" begin
4545
@test state.pbest == measurements
46-
@test state.pbest_X [0.35710007620140427 0.37056803307520936 0.2723318907233864 2.7429797605672808 3.9372495283243105 -0.8067647083847199;
46+
# https://github.com/JuliaAI/MLJParticleSwarmOptimization.jl/issues/27
47+
@test_broken state.pbest_X [0.35710007620140427 0.37056803307520936 0.2723318907233864 2.7429797605672808 3.9372495283243105 -0.8067647083847199;
4748
0.471258004384426 0.3400938657534834 0.18864812986209056 2.3976392099947 3.6569395920512977 0.420991611378423 ;
4849
0.09661447846912713 0.19630556211862715 0.7070799594122457 2.5742724788985445 3.6354556967115146 0.6736019046580138]
4950
end
@@ -52,4 +53,5 @@
5253
@test all(state.gbest .== 0.1)
5354
@test all(state.gbest_X .== state.pbest_X[2, :]')
5455
end
55-
end
56+
end
57+

0 commit comments

Comments
 (0)