()
| 340 | #[test] |
| 341 | #[should_panic(expected = "offset overflow")] |
| 342 | fn test_start_overflow() { |
| 343 | let buffer = Buffer::from_iter([0_i32, 1, 2]); |
| 344 | ScalarBuffer::<i32>::new(buffer, usize::MAX / 4 + 1, 0); |
| 345 | } |
| 346 | |
| 347 | #[test] |
| 348 | #[should_panic(expected = "length overflow")] |
nothing calls this directly
no test coverage detected