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

Function test_prims

crates/kernel/src/testing.rs:261–263  ·  view source on GitHub ↗

Build Primitives resolved from a test environment. The env should contain all the primitives the test needs.

(env: &KEnv<Meta>)

Source from the content-addressed store, hash-verified

259/// Build Primitives resolved from a test environment.
260/// The env should contain all the primitives the test needs.
261pub fn test_prims(env: &KEnv<Meta>) -> super::primitive::Primitives<Meta> {
262 super::primitive::Primitives::from_env(env)
263}

Callers 3

good_nat_litFunction · 0.85
good_nat_lit_eqFunction · 0.85
quot_primsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected