QMCPACK
test_VMCFactoryNew.cpp
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2019 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
13 #include "catch.hpp"
14 
15 #include "OhmmsData/Libxml2Doc.h"
16 
20 
21 namespace qmcplusplus
22 {
23 TEST_CASE("VMCFactory Instantiation", "[drivers]")
24 {
25  using namespace testing;
27 
29  REQUIRE(okay);
30  xmlNodePtr node = doc.getRoot();
31  std::bitset<QMC_MODE_MAX> vmc_mode;
32  vmc_mode[UPDATE_MODE] = true;
33  int qmc_counter = 0;
34  VMCFactoryNew vmc_factory(node, vmc_mode[UPDATE_MODE]);
35 }
36 
37 } // namespace qmcplusplus
class that handles xmlDoc
Definition: Libxml2Doc.h:76
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
if(!okay) throw std xmlNodePtr node
bit for move: walker or pbyp
Definition: DriverTraits.h:28
TEST_CASE("complex_helper", "[type_traits]")
xmlNodePtr getRoot()
Definition: Libxml2Doc.h:88
constexpr int valid_vmc_input_vmc_batch_index
REQUIRE(std::filesystem::exists(filename))
constexpr std::array< const char *, 4 > valid_vmc_input_sections
bool parseFromString(const std::string_view data)
Definition: Libxml2Doc.cpp:204
avoids many repeated xml heredoc sections