]> gitweb.michael.orlitzky.com - spline3.git/blob - src/Tests/Grid.hs
e22557b6e396f4951e208aa097f122c3463c5523
[spline3.git] / src / Tests / Grid.hs
1 module Tests.Grid
2 where
3
4 import Test.QuickCheck
5 import Grid
6
7 instance Arbitrary Grid where
8 arbitrary = do
9 (Positive h') <- arbitrary :: Gen (Positive Double)
10 fv <- arbitrary :: Gen [[[Double]]]
11 return (make_grid h' fv)