Commit 406849ce authored by Praetorius, Simon's avatar Praetorius, Simon

problem with libcpp resolved

parent 9f154c8e
Pipeline #1605 failed with stage
in 4 minutes and 28 seconds
...@@ -149,7 +149,7 @@ int main() ...@@ -149,7 +149,7 @@ int main()
T val1 = strTo<T>(oss.str().c_str()); T val1 = strTo<T>(oss.str().c_str());
// compare with original value // compare with original value
test.check(bool(value == val1)); test.check(bool(value == val1), "Random values");
} }
T value2 = std::numeric_limits<T>::max(); T value2 = std::numeric_limits<T>::max();
...@@ -157,7 +157,7 @@ int main() ...@@ -157,7 +157,7 @@ int main()
oss2 << std::setprecision(std::numeric_limits<T>::digits10 + 4) << value2; oss2 << std::setprecision(std::numeric_limits<T>::digits10 + 4) << value2;
T val2 = strTo<T>(oss2.str().c_str()); T val2 = strTo<T>(oss2.str().c_str());
test.check(cmp(value2, val2)); test.check(cmp(value2, val2), "numeric_limits::max");
bool exception = false; bool exception = false;
try { try {
......
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