wrengr / bytestring-lexing

Efficiently parse and produce common lexemes: namely integral and fractional numbers.
Other
6 stars 4 forks source link

Improve coverage #9

Open wrengr opened 2 years ago

wrengr commented 2 years ago

HPC currently shows our test suite only has coverage of: 77% (34/44) TLD, 65% (135/205) alternatives, 75% (1222/1616) expressions. Much of the missing coverage is low-hanging fruit (e.g., does Data.ByteString.Lex.Fractional. readDecimal agree with Data.ByteString.Lex.Integral.readDecimal when the latter returns Nothing or when the prefix has no decimal part)