Skip to content

Update tests to take promote_double policy into account#1214

Open
rdoeffinger wants to merge 1 commit intoboostorg:developfrom
rdoeffinger:promote_double_test_fixes
Open

Update tests to take promote_double policy into account#1214
rdoeffinger wants to merge 1 commit intoboostorg:developfrom
rdoeffinger:promote_double_test_fixes

Conversation

@rdoeffinger
Copy link
Copy Markdown
Contributor

Makes it easier to change its default to false in the future. The remaining failing tests are test_nc_chi_squared test_bessel_j_prime and test_bessel_y_prime.
They probably have incorrect logic for the double == long double case already now.

@rdoeffinger rdoeffinger force-pushed the promote_double_test_fixes branch from b439120 to fce31eb Compare October 16, 2024 12:17
@rdoeffinger rdoeffinger force-pushed the promote_double_test_fixes branch 2 times, most recently from c4041a8 to 22f5653 Compare November 18, 2024 21:48
Makes it easier to change its default to false in the future.
Only adapting test_policy_8.cpp is now necessary to make
tests pass after changing the default to false.
@rdoeffinger rdoeffinger force-pushed the promote_double_test_fixes branch from 22f5653 to c71cda7 Compare November 18, 2024 21:54
@rdoeffinger
Copy link
Copy Markdown
Contributor Author

I am unable to see a connection between the test failures and this change...

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.83%. Comparing base (8f843fd) to head (c71cda7).
⚠️ Report is 605 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1214   +/-   ##
========================================
  Coverage    93.83%   93.83%           
========================================
  Files          657      657           
  Lines        55241    55257   +16     
========================================
+ Hits         51836    51853   +17     
+ Misses        3405     3404    -1     
Files with missing lines Coverage Δ
test/test_0F1.cpp 93.33% <100.00%> (ø)
test/test_1F1.cpp 96.77% <100.00%> (+0.10%) ⬆️
test/test_1F1_log.cpp 95.65% <ø> (ø)
test/test_1F1_regularized.cpp 96.29% <100.00%> (+0.14%) ⬆️
test/test_bessel_i.cpp 95.00% <100.00%> (ø)
test/test_bessel_i_prime.cpp 95.83% <100.00%> (ø)
test/test_bessel_j.cpp 97.43% <100.00%> (+0.06%) ⬆️
test/test_bessel_j_prime.cpp 97.50% <100.00%> (+0.13%) ⬆️
test/test_bessel_k.cpp 94.11% <100.00%> (ø)
test/test_bessel_k_prime.cpp 93.75% <100.00%> (ø)
... and 30 more

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f843fd...c71cda7. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant