Skip to content

Commit 33840ae

Browse files
removed test
1 parent 4e7b887 commit 33840ae

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cpp/tests.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,24 +1551,19 @@ class Tests
15511551
VectorXd weights_different(3);
15521552
VectorXd y_pred_good(3);
15531553
VectorXd y_pred_bad(3);
1554-
VectorXd y_pred_equal(3);
15551554
y_true << 1.0, 2.0, 3.0;
15561555
weights_equal << 1, 1, 1;
15571556
weights_different << 0, 0.5, 0.75;
15581557
y_pred_good << -1.0, 2.0, 4.0;
15591558
y_pred_bad << 4.0, 3.0, -1.0;
15601559
double rankability_good_ew{calculate_rankability(y_true, y_pred_good, weights_equal)};
15611560
double rankability_bad_ew{calculate_rankability(y_true, y_pred_bad, weights_equal)};
1562-
double rankability_equal_ew{calculate_rankability(y_true, y_pred_equal, weights_equal)};
15631561
double rankability_good_dw{calculate_rankability(y_true, y_pred_good, weights_different)};
15641562
double rankability_bad_dw{calculate_rankability(y_true, y_pred_bad, weights_different)};
1565-
double rankability_equal_dw{calculate_rankability(y_true, y_pred_equal, weights_different)};
15661563
tests.push_back(is_approximately_equal(rankability_good_ew, 1.0));
15671564
tests.push_back(is_approximately_equal(rankability_bad_ew, 0.0));
1568-
tests.push_back(is_approximately_equal(rankability_equal_ew, 0.5));
15691565
tests.push_back(is_approximately_equal(rankability_good_dw, 1.0));
15701566
tests.push_back(is_approximately_equal(rankability_bad_dw, 0.0));
1571-
tests.push_back(is_approximately_equal(rankability_equal_dw, 0.5));
15721567

15731568
VectorXd y_integration(3);
15741569
VectorXd x_integration(3);

0 commit comments

Comments
 (0)