For my ColorJizz library, I'm expecting slight errors when you do multiple conversions between different color formats. The errors are all very small (i.e. 0.0001 out).
What do you think I should do about these?
I feel like there are 2 real options:
- Leave them as they are, with almost 30% of tests failing
- Put some kind of 'error range' in my unit tests and pass them if they're within that range. But how do I judge what level or error I should have?
Here's an example of the kind of failures I'm getting:
http://www.mikeefranklin.co.uk/tests/test/
What would be the best solution?