def METHOD_NAME(self):
    X_2D = self.X_train[:, 0:2]
    X_3D = self.X_train[:, 0:3]
    X_4D = self.X_train
    with assert_raises(IndexError):
        rod_3D(X_2D)
    scores = ROD().fit(X_2D).decision_scores_
    assert_array_equal(scores,
                       rod_3D(np.hstack((X_2D, np.zeros(
                           shape=(X_2D.shape[0], 3 - X_2D.shape[1])))))[0])
    scores = ROD().fit(X_3D).decision_scores_
    assert_array_equal(scores, rod_3D(X_3D)[0])
    scores = ROD().fit(X_4D).decision_scores_
    assert_array_equal(scores,
                       rod_nD(X_4D, False, self.gm, self.data_scaler,
                              self.angles_scalers1, self.angles_scalers2)[
                           0])