MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_is_chained_true

Function test_is_chained_true

atomic-core/src/change/attestation.rs:1646–1651  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1644
1645 #[test]
1646 fn test_is_chained_true() {
1647 let a = Attestation::builder("s", make_agent())
1648 .previous_attestation(Hash::of(b"prev"))
1649 .build();
1650 assert!(a.is_chained());
1651 }
1652
1653 // -------------------------------------------------------------------------
1654 // Display

Callers

nothing calls this directly

Calls 3

make_agentFunction · 0.85
previous_attestationMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected