8 ms·
That's my approach as well. My idea is I can change the numbers, and it still better come out right. It forces you to think through (and code) things more clear
by jsrcout 4y ago
That's my approach as well. My idea is I can change the numbers, and it still better come out right. It forces you to think through (and code) things more clearly. It's too easy to write a test with hard-coded numbers that "just happens" to come out right.