tracks/haskell/exercises/hamming/test/Tests.hs in trackler-2.1.0.9 vs tracks/haskell/exercises/hamming/test/Tests.hs in trackler-2.1.0.10
- old
+ new
@@ -18,11 +18,9 @@
test Case{..} = it description assertion
where
assertion = expression `shouldBe` fromIntegral <$> expected
expression = distance strand1 strand2
--- Test cases adapted from `exercism/x-common/hamming.json` on 2016-07-12.
-
data Case = Case { description :: String
, strand1 :: String
, strand2 :: String
, expected :: Maybe Integer
}