3 ms·
Testing behaviour against an 'oracle' is a great class of properties to check. Especially useful when you want to test an optimized version against a simpler (
by eru 3y ago
Testing behaviour against an 'oracle' is a great class of properties to check.
Especially useful when you want to test an optimized version against a simpler (but slower) baseline version. Or when you have a class of special cases, that you can solve in a simpler way.
Testing the system against itself, but under symmetry, is also useful. But that goes close to general properties. A symmetry could be flipping labels around, or shuffling input order etc; it depends on your system.