Skip to content

Commit

Permalink
Relax a test condition
Browse files Browse the repository at this point in the history
Related to eclipse#523

Signed-off-by: Thien Nguyen <[email protected]>
  • Loading branch information
1tnguyen committed Mar 27, 2022
1 parent 910fb15 commit 9afb232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/plugins/algorithms/qaoa/tests/QAOATester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ TEST(QAOATester, checkStandardParamterizedScheme) {
std::make_pair("parameter-scheme", "Standard")}));
qaoa->execute(buffer);
std::cout << "Opt-val = " << (*buffer)["opt-val"].as<double>() << "\n";
EXPECT_LT((*buffer)["opt-val"].as<double>(), -1.58);
EXPECT_LT((*buffer)["opt-val"].as<double>(), -1.25);
}

// Generate rando
Expand Down

0 comments on commit 9afb232

Please sign in to comment.