4 ms·
Part of the reason why I like FP so much, is that you DON'T need to mock anything most of the time. Just call the damn function and compare the expected with th
by Akronymus 4y ago
Part of the reason why I like FP so much, is that you DON'T need to mock anything most of the time. Just call the damn function and compare the expected with the actual output.
Useful if you have a reference implementation that is obviously correct but slow, and a fast one where it may not be correct.