Permalink
Browse files

Use prop

  • Loading branch information...
adomokos committed Nov 6, 2018
1 parent 9c3a49b commit 1cb16e3bfe61eee4ab7f8c03f682dec338bbd848
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/RomanNumeralsSpec.hs
@@ -2,6 +2,7 @@ module RomanNumeralsSpec where
import Test.Hspec
import Test.QuickCheck
import Test.Hspec.QuickCheck (prop)
import Data.List (isPrefixOf, find)
import Data.Maybe (fromJust)
@@ -58,6 +59,5 @@ prop_convertNumber =
spec :: Spec
spec = do
describe "Converting to Roman Numerals" $ do
it "converts number to Roman and back" $ property $
prop_convertNumber
prop "converts number to Roman and back" $
prop_convertNumber

0 comments on commit 1cb16e3

Please sign in to comment.