Skip to content

Commit

Permalink
Add dummy unit test for set matching
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Jul 30, 2024
1 parent bf05ef2 commit 70817d4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions booster/unit-tests/Test/Booster/Pattern/MatchRewrite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ test_match_rewrite =
, sorts
, injections
, internalLists
, internalSets
, internalMaps
]

Expand Down Expand Up @@ -376,6 +377,17 @@ internalLists =

klist = KList testKListDef

internalSets :: TestTree
internalSets =
testGroup
"Internal sets"
[ test
"Can match an empty set with itself"
emptySet
emptySet
(success [])
]

internalMaps :: TestTree
internalMaps =
testGroup
Expand Down

0 comments on commit 70817d4

Please sign in to comment.