8
votes
Boolean conversion for fscanf()
Ooh, unit tests! You know how to make me happy!
Let's look at the tests first, as that's valuable documentation of the expected use cases.
A purist might argue that these are not unit tests because ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
parsing × 1319python × 315
java × 177
c++ × 161
c# × 156
performance × 133
strings × 127
c × 123
beginner × 112
javascript × 97
python-3.x × 86
regex × 76
xml × 68
json × 56
csv × 52
haskell × 48
php × 47
math-expression-eval × 43
object-oriented × 42
html × 40
file × 39
algorithm × 37
rust × 35
datetime × 32
ruby × 30