()
| 333 | #[test] |
| 334 | #[should_panic(expected = "offset overflow")] |
| 335 | fn test_length_overflow() { |
| 336 | let buffer = Buffer::from_iter([0_i32, 1, 2]); |
| 337 | ScalarBuffer::<i32>::new(buffer, usize::MAX, 1); |
| 338 | } |
| 339 | |
| 340 | #[test] |
| 341 | #[should_panic(expected = "offset overflow")] |
nothing calls this directly
no test coverage detected