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

Commit 14bb529

Browse files
committed
Add more tests
1 parent 592842d commit 14bb529

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

test/processes.jl

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
@testset "Processes" begin
2+
@testset "Basic" begin
3+
for p in [BinomialProcess(100), PoissonProcess(100.)]
4+
r = RectangleRegion((0., 1.), (1., 2.))
5+
P = rand(p, r)
6+
X = coordinates(P)
7+
@test all(0 .≤ X[1,:] .≤ 1)
8+
@test all(1 .≤ X[2,:] .≤ 2)
9+
end
10+
end
11+
212
@testset "Binomial" begin
3-
p = BinomialProcess(100)
4-
r = RectangleRegion((0., 1.), (1., 2.))
5-
P = rand(p, r)
6-
X = coordinates(P)
7-
@test all(0 .≤ X[1,:] .≤ 1)
8-
@test all(1 .≤ X[2,:] .≤ 2)
13+
# TODO
14+
end
15+
16+
@testset "Poisson" begin
17+
# TODO
918
end
1019
end

0 commit comments

Comments
 (0)