MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / insert_slice_middle

Function insert_slice_middle

hail-fuzz/src/utils.rs:260–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258
259 #[test]
260 fn insert_slice_middle() {
261 let mut input = vec![1, 2, 3];
262 insert_slice(&mut input, &[4, 5, 6], 2);
263 assert_eq!(input, vec![1, 2, 4, 5, 6, 3]);
264 }
265
266 #[test]
267 fn insert_slice_end() {

Callers

nothing calls this directly

Calls 1

insert_sliceFunction · 0.85

Tested by

no test coverage detected