3 ms·
Semantic errors? I don't think a unit test will be able to distinguish 16 from 16.
by ouaiueoaieaeoiu 7y ago
Semantic errors?
I don't think a unit test will be able to distinguish 16 from 16.
- ricardobeat 7y agoImagine this: the spec is Math.pow(x,y). It was implemented as Math.pow(y, x). The test was written with x=2, y=4. It is accidentally correct. This is why any unit tests dealing with absolute or enum values needs to run multiple iterations.