exercism / cpp

Exercism exercises in C++.
https://exercism.org/tracks/cpp
MIT License
257 stars 211 forks source link

fix: change test to work with Catch2 v2 and v3 #703

Closed vaeng closed 1 year ago

vaeng commented 1 year ago

Catch2 has been updated to v3 in the test-runner. The old approximation to compare floating point numbers is outdated. This PR commit fixes the issue.

Although test files have been touched, the old solutions should no be re-run! [no important files changed]

Thanks to @siebenschlaefer for reporting the issue!