()
| 866 | |
| 867 | #[test] |
| 868 | fn test_from_slice() { |
| 869 | let _context = crate::quick_init().unwrap(); |
| 870 | let values = [0u64; 10]; |
| 871 | let mut buffer = UnifiedBuffer::from_slice(&values).unwrap(); |
| 872 | for i in buffer[0..3].iter_mut() { |
| 873 | *i = 10; |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | #[test] |
| 878 | fn from_raw_parts() { |
nothing calls this directly
no test coverage detected