1 {-# LANGUAGE NoMonomorphismRestriction #-}
2 import Data.Monoid (mempty)
3 import Test.Framework (
7 import Test.Framework.Options
8 import Test.Framework.Runners.Options
10 import Cidr (cidr_properties, cidr_tests)
12 import IPv4Address (ipv4address_tests)
13 import Octet (octet_tests)
15 tests :: [Test.Framework.Test]
16 tests = [ cidr_properties,
23 let empty_test_opts = mempty :: TestOptions
24 let my_test_opts = empty_test_opts {
26 -- Increase to 5000 when,
27 -- https://github.com/batterseapower/test-framework/issues/34
30 topt_maximum_generated_tests = Just 1000
32 let empty_runner_opts = mempty :: RunnerOptions
33 let my_runner_opts = empty_runner_opts {
34 ropt_test_options = Just my_test_opts
37 defaultMainWithOpts tests my_runner_opts