dysfun@treehouse.systems ("gaytabase") wrote:
in libbittricks, i do the obvious thing of comparing implementations against each other for random inputs. as long as someone runs them on hardware with ISA support, we have an oracle. fortunately i have hardware support, even if it's very slow.
i never write an explicit test input, they're all generated randomly.