diff --git a/test/problems/mpc_bug.h b/test/problems/mpc_bug.h index 4782404f..e8fc2e03 100644 --- a/test/problems/mpc_bug.h +++ b/test/problems/mpc_bug.h @@ -3,6 +3,17 @@ #include "scs.h" static const char *mpc_bug(void) { - scs_float OPT = -0.473957794500; /* from scs */ - return _test_prob_from_data("test/problems/mpc_bug", OPT); + const char *fail; + scs_float OPT1 = -0.473957794500; /* from scs */ + scs_float OPT2 = -0.029336830816; /* from scs */ + scs_float OPT3 = -0.002215217478; /* from scs */ + fail = _test_prob_from_data("test/problems/mpc_bug1", OPT1); + if (fail) { + return fail; + } + fail = _test_prob_from_data("test/problems/mpc_bug2", OPT2); + if (fail) { + return fail; + } + return _test_prob_from_data("test/problems/mpc_bug3", OPT3); } diff --git a/test/problems/mpc_bug b/test/problems/mpc_bug1 similarity index 100% rename from test/problems/mpc_bug rename to test/problems/mpc_bug1 diff --git a/test/problems/mpc_bug2 b/test/problems/mpc_bug2 new file mode 100644 index 00000000..4fc1ca6d Binary files /dev/null and b/test/problems/mpc_bug2 differ diff --git a/test/problems/mpc_bug3 b/test/problems/mpc_bug3 new file mode 100644 index 00000000..bfed77f2 Binary files /dev/null and b/test/problems/mpc_bug3 differ