Loading compiler/tests/QCORASTVisitorTester.in.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ int main() { TEST(QCORASTVisitorTester, checkSimple) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14","-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> using qbit = std::vector<int>; Loading Loading @@ -133,7 +133,7 @@ return ss.str(); TEST(QCORASTVisitorTester, checkParamAnsatzDouble) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14", "-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> Loading Loading @@ -255,7 +255,7 @@ return ss.str(); TEST(QCORASTVisitorTester, checkParamAnsatzVectorDouble) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14","-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> Loading Loading
compiler/tests/QCORASTVisitorTester.in.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ int main() { TEST(QCORASTVisitorTester, checkSimple) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14","-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> using qbit = std::vector<int>; Loading Loading @@ -133,7 +133,7 @@ return ss.str(); TEST(QCORASTVisitorTester, checkParamAnsatzDouble) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14", "-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> Loading Loading @@ -255,7 +255,7 @@ return ss.str(); TEST(QCORASTVisitorTester, checkParamAnsatzVectorDouble) { Rewriter rewriter1; xacc::setAccelerator("dummy"); std::vector<std::string> args{"-std=c++14"}; std::vector<std::string> args{"-std=c++14","-I@CMAKE_INSTALL_PREFIX@/include/xacc"}; auto action1 = new QCORFrontendAction(rewriter1, "temp.cpp", args); const std::string bell = R"bell(#include <vector> Loading