Пример #1
0
void MathematicalModelTest::test_save(void) {
  message += "test_save\n";

  std::string file_name = "../data/mathematical_model.xml";

  MathematicalModel mm;

  // Test

  mm.save(file_name);
}
Пример #2
0
void MathematicalModelTest::test_to_XML(void) {
  message += "test_to_XML\n";

  MathematicalModel mm;

  tinyxml2::XMLDocument* document;

  // Test

  document = mm.to_XML();

  assert_true(document != NULL, LOG);

  delete document;
}
Пример #3
0
void MathematicalModelTest::test_save(void)
{
   message += "test_save\n";

#ifdef __APPLE__
   std::string file_name = "../../../../data/mathematical_model.xml";
#else
   std::string file_name = "../data/mathematical_model.xml";
#endif

   MathematicalModel mm;

   // Test

   mm.save(file_name);
}