Skip to content

Commit

Permalink
Add test for DivRU changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanG077 committed Nov 23, 2024
1 parent 79a50c9 commit 336281f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,18 @@ test58b
-> Proxy (Max (n+2) 1)
test58b = test58a

test59
:: SNat n
-> SNat p
-> Proxy (1 <=? DivRU (n + 1) (p + 1))
-> Proxy True
test59 SNat SNat = id

main :: IO ()
main = defaultMain tests

tests :: TestTree
tests = testGroup "ghc-typelits-natnormalise"
tests = testGroup "ghc-typelits-extra"
[ testGroup "Basic functionality"
[ testCase "GCD 6 8 ~ 2" $
show (test1 Proxy) @?=
Expand Down

0 comments on commit 336281f

Please sign in to comment.