Remove the tests for ‘alphaNumChar’

Alphanumeric characters are not generated often enough so QuickCheck may
sometimes give up on this one. The function is defined analogous to other
similar functions so there is really no point in testing it.
This commit is contained in:
Mark Karpov 2020-05-10 22:39:48 +02:00
parent 7ba66b98d9
commit 8c7acbf376
2 changed files with 0 additions and 6 deletions

View File

@ -114,9 +114,6 @@ spec = do
describe "spaceChar" $
checkCharRange "white space" [9, 10, 11, 12, 13, 32, 160] spaceChar
describe "alphaNumChar" $
checkCharPred "alphanumeric character" (isAlphaNum . toChar) alphaNumChar
describe "printChar" $
checkCharPred "printable character" (isPrint . toChar) printChar

View File

@ -120,9 +120,6 @@ spec = do
describe "letterChar" $
checkCharPred "letter" isAlpha letterChar
describe "alphaNumChar" $
checkCharPred "alphanumeric character" isAlphaNum alphaNumChar
describe "printChar" $
checkCharPred "printable character" isPrint printChar