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

Function replace_strided

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

Source from the content-addressed store, hash-verified

293
294 #[test]
295 fn replace_strided() {
296 let mut input = vec![1, 2, 3, 4];
297 replace_slice_strided(&mut input, &[5, 6], 0, 2);
298 assert_eq!(input, vec![5, 5, 6, 6]);
299 }
300
301 #[test]
302 fn replace_strided_middle() {

Callers

nothing calls this directly

Calls 1

replace_slice_stridedFunction · 0.85

Tested by

no test coverage detected