about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-09 13:58:45 +1000
committerGitHub <noreply@github.com>2025-08-09 13:58:45 +1000
commit7f77dfdda38eba560c9422d6d1d7c7541f833a65 (patch)
treee4d0fc4f5bf2af06039a1895ba81ad125efd0ed2 /tests/rustdoc-js-std/parser-slice-array.js
parente63e769c9b6233e1f9c0f53d0ec8d276cb7d882f (diff)
parent57cf40cd82592f004736d955e87253b4346ba2fc (diff)
downloadrust-7f77dfdda38eba560c9422d6d1d7c7541f833a65.tar.gz
rust-7f77dfdda38eba560c9422d6d1d7c7541f833a65.zip
Rollup merge of #144923 - rocurley:float_tests_refactor_3, r=tgross35
Move several more float tests to floats/mod.rs

This PR moves several tests to `floats/mod.rs`, as discussed in https://github.com/rust-lang/rust/issues/141726. The tests moved are:

* `test_abs`
* `test_signum`
* `test_is_sign_positive`
* `test_is_sign_negative`
* `test_next_up`
* `test_next_down`
* `test_sqrt_domain`
* `test_clamp_min_greater_than_max`
* `test_clamp_min_is_nan`
* `test_clamp_max_is_nan`
* `test_total_cmp`

This covers all the "easy" tests: the ones that don't have a lot of precision-specific constants. It's not clear to me that it's worth migrating the others.

Each test is its own commit (with the exception of the clamp tests), so it may be easiest to review each commit individually.

r? tgross35
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions