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

Function test_crate_reexports

atomic-agent/src/lib.rs:127–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 #[test]
127 fn test_crate_reexports() {
128 // Verify that primary types are accessible from the crate root.
129 let _: HookType = HookType::TurnStart;
130 let _event = TurnEvent::new("test", HookType::TurnEnd);
131 let _changes = TurnChanges::new();
132 let _registry = AgentRegistry::with_defaults();
133 let _: Phase = Phase::Idle;
134 let _envelope = SessionEnvelope::builder("s", "a").build();
135 let _session = AgentSession::new("s", "a", "A");
136
137 // Provenance graph types
138 let _: NodeKind = NodeKind::Goal;
139 let _: EdgeKind = EdgeKind::LedTo;
140 let _acc = ProvenanceAccumulator::new("test");
141 }
142
143 #[test]
144 fn test_default_registry_has_claude_code() {

Callers

nothing calls this directly

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected