MCPcopy Create free account
hub / github.com/argumentcomputer/ix / expr_sort_0

Function expr_sort_0

crates/ixon/src/lib.rs:242–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240 // =========================================================================
241
242 #[test]
243 fn expr_var_0() {
244 // Expr::Var(0) -> Tag4 { flag: 0x1, size: 0 } -> 0x10
245 let mut buf = Vec::new();
246 serialize::put_expr(&Expr::Var(0), &mut buf);
247 assert_eq!(buf, vec![0x10], "Expr::Var(0) should be 0x10");
248 }
249
250 #[test]

Callers

nothing calls this directly

Calls 1

put_exprFunction · 0.85

Tested by

no test coverage detected