We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0584d commit ff98613Copy full SHA for ff98613
test/StochasticProcess.jl
@@ -4,19 +4,24 @@ using Base.Test
4
srand(1)
5
dx = 0.001
6
7
+let
8
p = WhiteNoiseProcess(dx)
9
@test start(p) == nothing
-next(p)
10
+S = next(p)
11
@test done(p, S) == false
12
+end
13
14
15
p = BrownianProcess(dx)
16
@test start(p) == 0
-next(p, 0.0)
17
+S = next(p, 0.0)
18
19
20
21
22
p = AiryProcess(dx, 2.0)
23
S = start(p)
24
@test S == fill(-2/dx^2, 1, 1)
-next(p, S)
25
+S = next(p, S)
26
-
27
0 commit comments