Salome HOME
Fix issue when there are two optimizer loops.
[modules/yacs.git] / src / yacsloader / Test / YacsLoaderTest.cxx
index 9fe83e9c25cf9fe7e182ebdaceb3e3ee175edef4..eca557c894ea553f322ca65c5d3ff091628f1121 100644 (file)
@@ -842,6 +842,11 @@ void YacsLoaderTest::optimizers()
   CPPUNIT_ASSERT(ret == 0);
   CPPUNIT_ASSERT(p->getEffectiveState() == YACS::DONE );
   delete p;
+
+  ret = driverTest(p, "samples/double_optimizer_py.xml");
+  CPPUNIT_ASSERT(ret == 0);
+  CPPUNIT_ASSERT(p->getEffectiveState() == YACS::DONE );
+  delete p;
 }
 
 void YacsLoaderTest::pyremotes()
@@ -871,4 +876,4 @@ void YacsLoaderTest::nonepyobj()
   CPPUNIT_ASSERT(p->getEffectiveState() == YACS::DONE );
   CPPUNIT_ASSERT_EQUAL(p->getOutputPort("n2.r")->getAsString(), std::string("True"));
   delete p;
-}
\ No newline at end of file
+}