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

Function test_shift_pos_float64

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

Source from the content-addressed store, hash-verified

109
110 #[test]
111 fn test_shift_pos_float64() {
112 let a: Float64Array = vec![Some(1.), None, Some(4.)].into();
113 let res = shift(&a, 1).unwrap();
114 let expected: Float64Array = vec![None, Some(1.), None].into();
115 assert_eq!(res.as_ref(), &expected);
116 }
117
118 #[test]
119 fn test_shift_neg_int32_dict() {

Callers

nothing calls this directly

Calls 1

shiftFunction · 0.85

Tested by

no test coverage detected