Commit 454ccd22 authored by Philipp Götze's avatar Philipp Götze

Fix rounding problem in test case

parent 678c386f
......@@ -146,7 +146,7 @@ TEST_CASE("Storing tuples in PTable", "[PTable]") {
d += get<3>(ptp);
}
REQUIRE(c == 3); // 5,6,7
REQUIRE(std::round(d*10)/10 == 5*12.45 + 6*12.45 + 7*12.45);
REQUIRE(std::round(d*10)/10 == 224.1); //5*12.45 + 6*12.45 + 7*12.45);
}
pTable->print();
......
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