Add wordPaddedDec4
This commit is contained in:
parent
1ccaa80ba8
commit
f5799e7270
4 changed files with 26 additions and 1 deletions
|
@ -77,6 +77,10 @@ tests = testGroup "Tests"
|
|||
Bounded.run Nat.two (Bounded.wordPaddedDec2 w)
|
||||
===
|
||||
pack (zeroPadL 2 (show w))
|
||||
, TQC.testProperty "wordPaddedDec4" $ TQC.forAll (TQC.choose (0,9999)) $ \w ->
|
||||
Bounded.run Nat.constant (Bounded.wordPaddedDec4 w)
|
||||
===
|
||||
pack (zeroPadL 4 (show w))
|
||||
, TQC.testProperty "wordPaddedDec9" $ TQC.forAll (TQC.choose (0,999999999)) $ \w ->
|
||||
Bounded.run Nat.constant (Bounded.wordPaddedDec9 w)
|
||||
===
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue