Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions test/submodels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ using DynamicPPL
using Distributions
using Test

# Dummy object that we can use to test VarNames with property lenses.
mutable struct P
a::Float64
b::Float64
end

@testset "submodels.jl" begin
@testset "$op with AbstractPPL API" for op in [condition, fix]
x_val = 1.0
Expand Down Expand Up @@ -106,10 +112,6 @@ using Test
end

@testset "Complex prefixes" begin
mutable struct P
a::Float64
b::Float64
end
@model function f()
x = Vector{Float64}(undef, 1)
x[1] ~ Normal()
Expand Down
Loading