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

Function peek_variant_empty_bytes_error

crates/ixon/src/lazy.rs:486–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484 fn equality_by_bytes() {
485 let a = LazyConstant::from_constant(axiom_constant());
486 let b = LazyConstant::from_constant(axiom_constant());
487 assert_eq!(a, b);
488 let d = LazyConstant::from_constant(defn_constant());
489 assert_ne!(a, d);
490 }
491
492 #[test]
493 fn trailing_bytes_rejected() {

Callers

nothing calls this directly

Calls 2

from_bytesFunction · 0.85
peek_variantMethod · 0.80

Tested by

no test coverage detected