Skip to main content

All Questions

1 vote
4 answers
2k views

Unit test a generic floating point equality function

I've written a function that tests two floating point numbers for approximate equality (see this Code Review question). I'd like to unit test my function, but I'm not positive of the best way to do ...
Dan Oberlam's user avatar
  • 1,291