MCPcopy Create free account
hub / github.com/assert-rs/assert_cmd / into_code_from_pred

Function into_code_from_pred

src/assert.rs:1160–1163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1158
1159 #[test]
1160 fn into_code_from_pred() {
1161 let pred = convert_code(predicate::eq(10));
1162 assert!(pred.eval(&10));
1163 }
1164
1165 #[test]
1166 fn into_code_from_i32() {

Callers

nothing calls this directly

Calls 1

convert_codeFunction · 0.85

Tested by

no test coverage detected