Skip to content

Commit

Permalink
Correct setProp, remove redundant function
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Apr 4, 2024
1 parent 4e75a36 commit 4803840
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/llvm-integration/LLVM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ llvmSpec =
hedgehog . propertyTest . mapKItemInjProp

describe "internalised set tests" $
it "show leave concrete sets alone" $
it "should leave concrete sets unchanged" $
hedgehog . propertyTest . setProp

--------------------------------------------------
Expand Down Expand Up @@ -211,7 +211,7 @@ mapKItemInjProp api = property $ do

setProp :: LLVM.API -> Property
setProp api = property $ do
forM_ [2 .. 10] $ \n -> do
forM_ [1 .. 10] $ \n -> do
xs <-
forAll $
Gen.filter (\xs -> xs == nub xs) $
Expand Down Expand Up @@ -286,9 +286,6 @@ boolTerm = DomainValue boolSort . BS.pack . map toLower . show
intTerm :: (Integral a, Show a) => a -> Term
intTerm = DomainValue intSort . BS.pack . show . (+ 0)

intTermKItem :: (Integral a, Show a) => a -> Term
intTermKItem = DomainValue kItemSort . BS.pack . show . (+ 0)

bytesTerm :: ByteString -> Term
bytesTerm = DomainValue bytesSort

Expand Down

0 comments on commit 4803840

Please sign in to comment.