41 REQUIRE(proj2.getSeriesIndex() == 0);
43 REQUIRE(proj2.getSeriesIndex() == 1);
44 REQUIRE(proj2.getTitle() == std::string(
"asample"));
46 proj2.setCommunicator(c);
51 TEST_CASE(
"ProjectData::put no series",
"[ohmmsapp]")
55 const char* xml_input = R
"(<project id="test1"></project>)"; 67 TEST_CASE(
"ProjectData::put with series",
"[ohmmsapp]")
71 const char* xml_input = R
"(<project id="test1" series="1"></project>)"; 85 TEST_CASE(
"ProjectData::TestDriverVersion",
"[ohmmsapp]")
88 SECTION(
"driver version batch")
92 const char* xml_input = R
"( 93 <project id="test1" series="1"> 94 <parameter name='driver_version'> 109 SECTION(
"driver version legacy")
114 const char* xml_input = R
"( 115 <project id="test1" series="1"> 116 <parameter name='driver_version'> 131 SECTION(
"driver version bad value")
135 const char* xml_input = R
"( 136 <project id=" test1 " series=" 1 "> 137 <parameter name = 'driver_version' > 147 REQUIRE_THROWS(proj.
put(root));
const std::string & getTitle() const noexcept
returns the title of the project <project id="det_qmc_short_sdbatch_vmcbatch_mwalkers" series="0"> tr...
class that handles xmlDoc
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
bool isComplex() const noexcept
Communicate * Controller
Global Communicator for a process.
Wrapping information on parallelism.
DriverVersion getDriverVersion() const noexcept
bool put(std::istream &is)
DriverVersion
Enum for global scope switch of design from legacy driver based to batch driver based.
REQUIRE(std::filesystem::exists(filename))
bool parseFromString(const std::string_view data)
int getSeriesIndex() const noexcept