def test_general_interface(self):

        X_test = init_random_uniform(self.X_lower, self.X_upper, 10)
        # Just check if PI is always greater equal than 0

        a, dadx = self.pi(X_test, True)

        assert len(a.shape) == 2
        assert a.shape[0] == X_test.shape[0]
        assert a.shape[1] == 1
        assert 0.0 >= np.all(a)
        assert len(dadx.shape) == 2
        assert dadx.shape[0] == X_test.shape[0]
        assert dadx.shape[1] == X_test.shape[1]
dataset/ETHPy150Open automl/RoBO/robo/test/test_pi.py/PITestCase.test_general_interface/swapped operands of `>=`