MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / test_zigzag

Function test_zigzag

src/avro/src/util.rs:143–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141
142 #[mz_ore::test]
143 fn test_zigzag() {
144 let mut a = Vec::new();
145 let mut b = Vec::new();
146 zig_i32(42i32, &mut a);
147 zig_i64(42i64, &mut b);
148 assert_eq!(a, b);
149 }
150
151 #[mz_ore::test]
152 fn test_zig_i64() {

Callers

nothing calls this directly

Calls 2

zig_i32Function · 0.85
zig_i64Function · 0.85

Tested by

no test coverage detected