Skip to content

Commit 21bf0d1

Browse files
committed
Restored all CAPI unit tests!
1 parent 7457230 commit 21bf0d1

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

check/TestCAPI.c

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <math.h>
1010
#include <string.h>
1111

12-
const HighsInt dev_run = 1;
12+
const HighsInt dev_run = 0;
1313
const double double_equal_tolerance = 1e-5;
1414

1515
void checkGetCallbackDataOutPointer(const HighsCallbackDataOut* data_out,
@@ -2484,30 +2484,30 @@ void testFixedLp() {
24842484
}
24852485

24862486
int main() {
2487-
// minimalApiIllegalLp();
2488-
// testCallback();
2489-
// versionApi();
2490-
// minimalApiLp();
2491-
// minimalApiMip();
2492-
// minimalApiQp();
2493-
// fullApiOptions();
2494-
// fullApiLp();
2495-
// fullApiMip();
2496-
// fullApiQp();
2497-
// passPresolveGetLp();
2498-
// options();
2499-
// testGetColsByRange();
2500-
// testPassHessian();
2501-
// testRanging();
2502-
// testFeasibilityRelaxation();
2487+
minimalApiIllegalLp();
2488+
testCallback();
2489+
versionApi();
2490+
minimalApiLp();
2491+
minimalApiMip();
2492+
minimalApiQp();
2493+
fullApiOptions();
2494+
fullApiLp();
2495+
fullApiMip();
2496+
fullApiQp();
2497+
passPresolveGetLp();
2498+
options();
2499+
testGetColsByRange();
2500+
testPassHessian();
2501+
testRanging();
2502+
testFeasibilityRelaxation();
25032503
testNames();
2504-
// testGetModel();
2505-
// testMultiObjective();
2506-
// testQpIndefiniteFailure();
2507-
// testDualRayTwice();
2508-
// testDeleteRowResolveWithBasis();
2509-
// testIis();
2510-
// testFixedLp();
2504+
testGetModel();
2505+
testMultiObjective();
2506+
testQpIndefiniteFailure();
2507+
testDualRayTwice();
2508+
testDeleteRowResolveWithBasis();
2509+
testIis();
2510+
testFixedLp();
25112511
return 0;
25122512
}
25132513
// testSetSolution();

0 commit comments

Comments
 (0)