From: Michael Orlitzky Date: Sun, 9 May 2010 19:53:05 +0000 (-0400) Subject: Added a "test" directory containing the test suite of HUnit tests. X-Git-Tag: 0.0.1~49 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=1d34c6adebfc203d38d7051584de7f1733a34d6f;p=hath.git Added a "test" directory containing the test suite of HUnit tests. --- diff --git a/test/TestSuite.hs b/test/TestSuite.hs new file mode 100644 index 0000000..897807f --- /dev/null +++ b/test/TestSuite.hs @@ -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