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