]> gitweb.michael.orlitzky.com - hath.git/commitdiff
Added a "test" directory containing the test suite of HUnit tests.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 9 May 2010 19:53:05 +0000 (15:53 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 9 May 2010 19:53:05 +0000 (15:53 -0400)
test/TestSuite.hs [new file with mode: 0644]

diff --git a/test/TestSuite.hs b/test/TestSuite.hs
new file mode 100644 (file)
index 0000000..897807f
--- /dev/null
@@ -0,0 +1,15 @@
+import Test.HUnit
+
+import Cidr (cidr_tests)
+import IPv4Address (ipv4address_tests)
+import Maskable (maskable_tests)
+import Octet (octet_tests)
+
+test_suite = TestList (concat [cidr_tests,
+                               ipv4address_tests,
+                               maskable_tests,
+                               octet_tests])
+
+main :: IO Counts
+main = do
+  runTestTT test_suite