]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Tests/Grid.hs
Fix all orphan instances.
[spline3.git] / src / Tests / Grid.hs
index 31dfdffb5cbf1fd4342162ccb577f51cc91aa6a1..ad7bab92c62f677c08a6e35fdd7335f3acfd131e 100644 (file)
@@ -2,9 +2,7 @@ module Tests.Grid
 where
 
 import Data.Maybe (fromJust)
-import Debug.Trace (trace)
 import Test.HUnit
-import Test.QuickCheck
 
 import Assertions
 import Comparisons
@@ -15,13 +13,6 @@ import Grid
 import Tetrahedron
 
 
-instance Arbitrary Grid where
-    arbitrary = do
-      (Positive h') <- arbitrary :: Gen (Positive Double)
-      fvs <- arbitrary :: Gen [[[Double]]]
-      return (make_grid h' fvs)
-
-
 -- | Check the value of c0030 for tetrahedron0 belonging to the
 --   cube centered on (1,1,1) with a grid constructed from the
 --   trilinear values. See example one in the paper.