megatest checks output and nimout

This commit is contained in:
Arne Döring 2018-12-05 00:42:56 +01:00 • committed by Araq
commit 3859878db8
16 changed files with 218 additions and 202 deletions

View file

@ -41,7 +41,8 @@ proc lift1[A, B](f: proc(a: A): B, r: RandomVar[A]): ClosureVar[B] =
return inner
when isMainModule:
proc main() =
proc sq(x: float): float = x * x
let
@ -59,3 +60,4 @@ when isMainModule:
echo rng.sample(u)
echo rng.sample(t)
main()