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:1143–1148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1141
1142 #[test]
1143 fn test_turn_changes_with_timestamp() {
1144 use chrono::TimeZone;
1145 let ts = Utc.with_ymd_and_hms(2026, 7, 4, 12, 0, 0).unwrap();
1146 let changes = TurnChanges::new().with_timestamp(ts);
1147 assert_eq!(changes.timestamp, ts);
1148 }
1149
1150 // merge_paths tests
1151

Callers

nothing calls this directly

Calls 2

with_timestampMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected