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

Function expr_str_lit_matches

crates/kernel/src/congruence.rs:645–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

643
644 #[test]
645 fn expr_str_lit_matches() {
646 let r = empty_resolver();
647 let lean_e = env::Expr::lit(Literal::StrVal("hi".into()));
648 let zero_e = KExpr::<Anon>::str("hi".into(), mk_addr("any"));
649 expr_congruent(&lean_e, &zero_e, &r).unwrap();
650 }
651
652 #[test]
653 fn expr_proj_matches() {

Callers

nothing calls this directly

Calls 3

empty_resolverFunction · 0.85
expr_congruentFunction · 0.85
mk_addrFunction · 0.70

Tested by

no test coverage detected