1 ! Copyright (C) 2009 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: fry kernel math.functions random random.lagged-fibonacci
4 sequences specialized-arrays.instances.double tools.test ;
5 IN: random.lagged-fibonacci.tests
9 1000 [ random-float ] double-array{ } replicate-as
10 999 swap nth 0.860072135925293 -.01 ~
15 3 <lagged-fibonacci> [
17 1000 [ random-float ] double-array{ } replicate-as
21 1000 [ random-float ] double-array{ } replicate-as