Skip to content

Commit bcd7bc2

Browse files
committed
Remove old regression tests
1 parent fed936f commit bcd7bc2

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

test/mcmc/hmc.jl

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -201,28 +201,6 @@ using Turing
201201
@test sample(StableRNG(seed), gdemo_default, alg3, 10) isa Chains
202202
end
203203

204-
@testset "Regression tests" begin
205-
# https://github.com/TuringLang/DynamicPPL.jl/issues/27
206-
@model function mwe1(::Type{T}=Float64) where {T<:Real}
207-
m = Matrix{T}(undef, 2, 3)
208-
return m .~ MvNormal(zeros(2), I)
209-
end
210-
@test sample(StableRNG(seed), mwe1(), HMC(0.2, 4; adtype=adbackend), 100) isa Chains
211-
212-
@model function mwe2(::Type{T}=Matrix{Float64}) where {T}
213-
m = T(undef, 2, 3)
214-
return m .~ MvNormal(zeros(2), I)
215-
end
216-
@test sample(StableRNG(seed), mwe2(), HMC(0.2, 4; adtype=adbackend), 100) isa Chains
217-
218-
# https://github.com/TuringLang/Turing.jl/issues/1308
219-
@model function mwe3(::Type{T}=Array{Float64}) where {T}
220-
m = T(undef, 2, 3)
221-
return m ~ filldist(MvNormal(zeros(2), I), 3)
222-
end
223-
@test sample(StableRNG(seed), mwe3(), HMC(0.2, 4; adtype=adbackend), 100) isa Chains
224-
end
225-
226204
# issue #1923
227205
@testset "reproducibility" begin
228206
alg = NUTS(1000, 0.8; adtype=adbackend)

0 commit comments

Comments
 (0)