Hacker News new | ask | show | jobs
by DylanSp 954 days ago
Beyond unit tests, this seems like a great opportunity to leverage property-based testing, at least for pure functions; checking that both versions return the same results is an easy property to think of.