Skip to content

Commit 20d1df4

Browse files
authored
TEST Update OsiSolverInterfaceTest.cpp
1 parent a6165ce commit 20d1df4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Osi/src/OsiCommonTest/OsiSolverInterfaceTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4032,7 +4032,7 @@ void OsiSolverInterfaceCommonUnitTest(const OsiSolverInterface *emptySi,
40324032
int ad = 13579;
40334033
{
40344034
OsiSolverInterface *si1 = exmip1Si->clone();
4035-
int ad = 13579;
4035+
//int ad = 13579;
40364036
si1->setApplicationData(&ad);
40374037
OSIUNITTEST_ASSERT_ERROR(*(static_cast< int * >(si1->getApplicationData())) == ad, {}, solverName, "storing application data");
40384038
si2 = si1->clone();
@@ -4043,8 +4043,8 @@ void OsiSolverInterfaceCommonUnitTest(const OsiSolverInterface *emptySi,
40434043
// std::cout << "ad:" << ad << std::endl;
40444044
// std::cout << "compare: " << (*(static_cast< int * >(si2->getApplicationData())) == ad) << std::endl;
40454045
// std::cout << "finished" << std::endl;
4046-
int si2ad = *(static_cast< int * >(si2->getApplicationData()));
4047-
OSIUNITTEST_ASSERT_ERROR(si2ad == ad, {}, solverName, "extra cloning of application data");
4046+
// int si2ad = *(static_cast< int * >(si2->getApplicationData()));
4047+
// OSIUNITTEST_ASSERT_ERROR(si2ad == ad, {}, solverName, "extra cloning of application data");
40484048
OSIUNITTEST_ASSERT_ERROR(*(static_cast< int * >(si2->getApplicationData())) == ad, {}, solverName, "cloning of application data");
40494049

40504050
int nc = si2->getNumCols();

0 commit comments

Comments
 (0)