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

Function ser_de_expr_lam_telescope_size

crates/ixon/src/expr.rs:382–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380
381 #[test]
382 fn ser_de_expr_lam_telescope_size() {
383 let ty = Expr::var(1);
384 let expr =
385 Expr::lam(ty.clone(), Expr::lam(ty.clone(), Expr::lam(ty, Expr::var(0))));
386 let mut buf = Vec::new();
387 put_expr(expr.as_ref(), &mut buf);
388 assert_eq!(buf.len(), 5);
389 assert!(expr_roundtrip(&expr));
390 }
391
392 #[test]
393 fn ser_de_expr_app_telescope_size() {

Callers

nothing calls this directly

Calls 4

put_exprFunction · 0.85
varFunction · 0.50
lamFunction · 0.50
cloneMethod · 0.45

Tested by

no test coverage detected