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

Function level_succ_inner_propagates_error

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

Source from the content-addressed store, hash-verified

482
483 #[test]
484 fn level_succ_inner_propagates_error() {
485 let r = empty_resolver();
486 // Succ(Zero) vs Succ(Succ(Zero)) — outer shape matches, inner differs.
487 let ll = LL::succ(LL::zero());
488 let lu = KUniv::<Anon>::succ(KUniv::succ(KUniv::zero()));
489 let e = level_congruent(&ll, &lu, &r).unwrap_err();
490 assert!(e.contains("Zero"));
491 assert!(e.contains("Succ"));
492 }
493
494 // ---- expr_congruent ----
495

Callers

nothing calls this directly

Calls 2

empty_resolverFunction · 0.85
level_congruentFunction · 0.85

Tested by

no test coverage detected