Commit cf5e549a authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

Fixing build error

parent debdfbe9
......@@ -257,7 +257,6 @@ BOOST_AUTO_TEST_CASE(buildQFT) {
}
std::cout << quilV5->getQuilString() << "\n" << expectedQuil << "\n";
BOOST_VERIFY(quilV5->getQuilString() == expectedQuil);
}
......@@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE(checkCreation) {
CPhase cp(0, 1, 3.14);
BOOST_VERIFY(boost::get<double>(cp.getParameter(0)) == 3.14);
BOOST_VERIFY(cp.toString("qreg") == "CPhase(3.14) qreg0 qreg1");
BOOST_VERIFY(cp.toString("qreg") == "CPhase(3.14) qreg0,qreg1");
BOOST_VERIFY(cp.bits().size() == 2);
BOOST_VERIFY(cp.bits()[0] == 0);
BOOST_VERIFY(cp.bits()[1] == 1);
......@@ -50,7 +50,7 @@ BOOST_AUTO_TEST_CASE(checkCreation) {
CPhase cp2(44, 45, 1.71234);
BOOST_VERIFY(boost::get<double>(cp2.getParameter(0)) == 1.71234);
BOOST_VERIFY(cp2.toString("qreg") == "CPhase(1.71234) qreg44 qreg45");
BOOST_VERIFY(cp2.toString("qreg") == "CPhase(1.71234) qreg44,qreg45");
BOOST_VERIFY(cp2.bits().size() == 2);
BOOST_VERIFY(cp2.bits()[0] == 44);
BOOST_VERIFY(cp2.bits()[1] == 45);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment