()
| 492 | |
| 493 | #[test] |
| 494 | fn runtime_detects() { |
| 495 | let rt = ts_runtime(); |
| 496 | assert!(!rt.name.is_empty()); |
| 497 | // Should be one of: avx512, avx2, neon, wasm-simd128, scalar. |
| 498 | assert!( |
| 499 | ["avx512", "avx2", "neon", "wasm-simd128", "scalar"].contains(&rt.name), |
| 500 | "unexpected runtime: {}", |
| 501 | rt.name |
| 502 | ); |
| 503 | } |
| 504 | |
| 505 | #[test] |
| 506 | fn sum_correctness() { |
nothing calls this directly
no test coverage detected