]> gitweb.michael.orlitzky.com - hath.git/blobdiff - src/IPv4Address.hs
Added type signatures for all of the tests.
[hath.git] / src / IPv4Address.hs
index 29afa5f3dd2c34264a98b39c250d93b5160db6af..e91e67325a070abde0a0af82afd2d05a3175bc4d 100644 (file)
@@ -355,14 +355,16 @@ mk_testaddr a b c d =
       oct4 = octet_from_int d
 
 
+test_most_sig_bit_different1 :: Test
 test_most_sig_bit_different1 =
     TestCase $ assertEqual "10.1.1.0 and 10.1.0.0 differ in bit 24" TwentyFour (most_sig_bit_different (mk_testaddr 10 1 1 0) (mk_testaddr 10 1 0 0))
 
 
+test_most_sig_bit_different2 :: Test
 test_most_sig_bit_different2 =
     TestCase $ assertEqual "10.1.2.0 and 10.1.1.0 differ in bit 23" TwentyThree (most_sig_bit_different (mk_testaddr 10 1 2 0) (mk_testaddr 10 1 1 0))
 
 
-
+ipv4address_tests :: [Test]
 ipv4address_tests = [ test_most_sig_bit_different1,
                       test_most_sig_bit_different2 ]