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

Function bad_proj_prop6

crates/kernel/src/tutorial/defeq.rs:1986–1995  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1984 check_accepts(&mut env, &id);
1985 }
1986
1987 /// projProp4 (bad): idx=3, someMoreData : PUnit.{1} — data projection forbidden
1988 #[test]
1989 fn bad_proj_prop4() {
1990 let mut env = prop_structure_env();
1991 let id = mk_prop_structure_proj_test(
1992 &mut env,
1993 "projProp4",
1994 cnst("PUnit", &[usucc(uzero())]),
1995 3,
1996 );
1997 check_rejects(&mut env, &id);
1998 }

Callers

nothing calls this directly

Calls 5

prop_structure_envFunction · 0.85
uzeroFunction · 0.85
check_rejectsFunction · 0.85
cnstFunction · 0.50

Tested by

no test coverage detected