News for hackers. Stuff that matters.
Re:The tragedy of 100% code coverage (2016) by ubernostrum on Tuesday May 09, 2017 @09:55PM (#14305381)
The point is being certain I haven't missed an edge case somewhere.

The hard part is the percentage rgb() values, of which there are technically an uncountably infinite number (since any real number in the range 0-100 is a legal percentage value). For those I generate all 16,777,216 integer values, and verify that converting to percentage and back yields the original value.

There are no comments on this comment yet.