Skip to content

Commit 0e37b6e

Browse files
committed
add some JETTests
1 parent aba60a3 commit 0e37b6e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/runtests.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ using MeasureBase
88
using Aqua
99
Aqua.test_all(MeasureBase; ambiguities=false, unbound_args=false)
1010

11+
using JETTest
12+
13+
@test_nodispatch density(Lebesgue(ℝ), 0.3)
14+
15+
@test_nodispatch density(Dirac(0), 0.3)
16+
@test_nodispatch density(Dirac(0), 0)
17+
18+
d = ∫exp(x -> -x^2, Lebesgue(ℝ))
19+
20+
@test_nodispatch density(d, 3)
21+
22+
@test_nodispatch basemeasure(d)
23+
1124
# function draw2(μ)
1225
# x = rand(μ)
1326
# y = rand(μ)

0 commit comments

Comments
 (0)