-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate tests to Catch2v3 #271
Conversation
d49fe8b
to
d2c3241
Compare
modified: CMakeLists.txt new file: cmake_log modified: src/synergia/bunch/CMakeLists.txt modified: src/synergia/collective/CMakeLists.txt modified: src/synergia/foundation/CMakeLists.txt modified: src/synergia/lattice/CMakeLists.txt modified: src/synergia/libFF/CMakeLists.txt modified: src/synergia/simulation/CMakeLists.txt modified: src/synergia/utils/CMakeLists.txt deleted: src/synergia/utils/catch.hpp modified: src/synergia/utils/catch_test_main.cc modified: src/synergia/utils/tests/CMakeLists.txt modified: src/synergia/utils/tests/test_command_line_arg.cc modified: src/synergia/utils/tests/test_commxx_mpi.cc modified: src/synergia/utils/tests/test_commxx_serdes.cc modified: src/synergia/utils/tests/test_distributed_fft2d.cc modified: src/synergia/utils/tests/test_distributed_fft3d.cc
modified: src/synergia/foundation/CMakeLists.txt modified: src/synergia/foundation/tests/CMakeLists.txt modified: src/synergia/foundation/tests/test_four_momentum.cc modified: src/synergia/foundation/tests/test_reference_particle.cc modified: src/synergia/foundation/tests/test_trigon.cc
modified: .github/workflows/macos-clang.yml modified: .github/workflows/macos-gcc.yml
|
|
|
Running only the
is here : out_drift.txt. We see the following:
where the margins clearly exceed the tolerance of |
The test passes because synergia2/src/synergia/utils/catch.hpp Lines 7901 to 7906 in ee24758
And the second comparison margin (which is implicitly defined) for one instance is:
where the implicitly defined margin is greater than the specified margin!
synergia2/src/synergia/utils/catch.hpp Line 7879 in ee24758
On an M1 mac the value of epsilon is:
|
Related to catchorg/Catch2#1507 |
No description provided.