MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_shift_large_pos

Function test_shift_large_pos

arrow-select/src/window.rs:179–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178 #[test]
179 fn test_shift_large_pos() {
180 let a: Int32Array = vec![Some(1), None, Some(4)].into();
181 let res = shift(&a, 1000).unwrap();
182 let expected: Int32Array = vec![None, None, None].into();
183 assert_eq!(res.as_ref(), &expected);
184 }
185
186 #[test]
187 fn test_shift_large_neg() {

Callers

nothing calls this directly

Calls 1

shiftFunction · 0.85

Tested by

no test coverage detected