Skip to content

Comment on Software is breaking down at a systemic level, by Jimmy Breck-McKye

You are viewing one comment and its replies. View all comments · View the comment above

Comments

  • One test that passes 6 and 3 and asserts 2 yields 100% code coverage, but what what about divide by zero errors? Does it work with negative numbers?

    Or NaN values.

    There was once a bug in, I think, FORTRAN code, which converted a decimal string to double. It had a bug that became relevant when the input was near the precision limit, and led to an infinite loop. That bug was found in quite a number of runtime implementations like PHP.

    1

Sign in to comment. Sign in