The C++ and Python integration merely print a flag. They should check its value and return an error if it does not match.