This doesn't really answer the question (why are two floats that are equal not equal?) though. It would be really great if someone with an M1 could reproduce this.
I borrowed a friend's M1 macbook pro, and the tests in the last minimized test post passed for me. (passed = no assertion failures after 10-15 minutes of running).
Created a github repo for easy crosschecking.
Maybe this an issue with the virtualization runner only? I tried running many copies of cargo test in separate windows (to get 16 test threads running on 10 physical cores) but it still passed. @MuldeR, on the macos runner, if you reduce the test to only 3 tests, does it start passing?
$ cargo test
Compiling assert_eq_floats_aarch64_macos v0.1.0 (/Users/user/git/assert_eq_floats_aarch64_macos)
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
Running unittests src/lib.rs (target/debug/deps/assert_eq_floats_aarch64_macos-9d6130aa2459a5f7)
running 4 tests
test test_float_1a has been running for over 60 seconds
test test_float_1b has been running for over 60 seconds
test test_float_2a has been running for over 60 seconds
test test_float_2b has been running for over 60 seconds
^C
I borrowed a friend's M1 macbook pro, and the tests in the last minimized test post passed for me. (passed = no assertion failures after 10-15 minutes of running).
Created a github repo for easy crosschecking.
You can add this to your repo, at .github/workflows/ci.yml, to re-produce the issue: