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

Function test_scc_id_equality

atomic-core/src/output/alive/order.rs:702–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

700
701 #[test]
702 fn test_scc_id_equality() {
703 let s1 = SccId::new(5);
704 let s2 = SccId::new(5);
705 let s3 = SccId::new(6);
706 assert_eq!(s1, s2);
707 assert_ne!(s1, s3);
708 }
709
710 #[test]
711 fn test_scc_id_hash() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected