Assert if the operation function is undefined