def METHOD_NAME(self, num_variables, flags, mcx_mode):
    """Test the or circuit."""
    or_circuit = OR(num_variables, flags, mcx_mode=mcx_mode)
    flags = flags or [1] * num_variables
    def reference(bits):
        flagged = []
        for flag, bit in zip(flags, bits):
            if flag < 0:
                flagged += [1 - bit]
            elif flag > 0:
                flagged += [bit]
        return np.any(flagged)
    self.assertBooleanFunctionIsCorrect(or_circuit, reference)