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

Function test_turn_changes_with_timestamp

atomic-agent/src/event.rs:1534–1539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1532
1533 #[test]
1534 fn test_turn_changes_with_timestamp() {
1535 use chrono::TimeZone;
1536 let ts = Utc.with_ymd_and_hms(2026, 7, 4, 12, 0, 0).unwrap();
1537 let changes = TurnChanges::new().with_timestamp(ts);
1538 assert_eq!(changes.timestamp, ts);
1539 }
1540
1541 // merge_paths tests
1542

Callers

nothing calls this directly

Calls 2

with_timestampMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected