2 ms·
" until you have proven it works, it is broken!" immediately followed by "Time to run some tests!" Prompted a grin. Then however "If we wanted to test this
by guenthert 6mo ago
" until you have proven it works, it is broken!"
immediately followed by
"Time to run some tests!"
Prompted a grin. Then however
"If we wanted to test this using directed testing we would need to test for all 2^32 input combinations, which sounds like a terrible idea …
… and exactly what I am going to do "
Wait, exhaustively testing float number space ... I read about that before. Might have been https://randomascii.wordpress.com/2014/01/27/theres-only-four-billion-floatsso-test-them-all/ https://randomascii.wordpress.com/2014/01/27/theres-only-fou...
covered also here https://news.ycombinator.com/item?id=34726919 https://news.ycombinator.com/item?id=34726919