Skip to content
Snippets Groups Projects

rm node visitor

Merged Wuttke, Joachim requested to merge rmNodeVisitor into develop
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -376,6 +376,10 @@ TEST_F(PyEmbedded, ExportToPythonAndBack)
const std::string code = Py::Export::sampleCode(*sample);
std::cout << "Test(ExportToPythonAndBack): have code:\n" << code << std::endl;
const std::string code2 = Py::Export::sampleCode(*sample);
std::cout << "Test(ExportToPythonAndBack): have code2:\n" << code2 << std::endl;
EXPECT_TRUE(code2 == code);
const std::string snippet =
"import bornagain as ba\n" + Py::Fmt::printImportedSymbols(code) + "\n\n" + code;
std::cout << "Test(ExportToPythonAndBack): have snippet" << std::endl;
@@ -387,7 +391,7 @@ TEST_F(PyEmbedded, ExportToPythonAndBack)
const std::string new_code = Py::Export::sampleCode(*multilayer);
std::cout << "Test(ExportToPythonAndBack): code from cloned sample:\n" << code << std::endl;
EXPECT_TRUE(code == new_code);
EXPECT_TRUE(new_code == code);
}
//! Retrieves list of functions from the imported script and checks, that there is
Loading