pub fn check_op(info: &OpInfo, seed: u64) -> Vec<Failure>Expand description
Checks every sample of info for its declared element types with the
interpreter and the native backend, and returns the failures.
For each sample, it checks that:
- the primitive accepts the arguments, and the IR is well typed,
- the interpreter’s results have the types
abstract_evalpredicts, - the native backend gives the same results bit for bit,
- the results match the sample’s expected values, if any.