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

Function test_outcome_display

atomic-agent/src/record/tests.rs:916–930  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

914
915#[test]
916fn test_outcome_display() {
917 let outcome = TurnRecordOutcome {
918 hash: Hash::of(b"test"),
919 turn_number: 3,
920 file_count: 2,
921 message: "Turn 3: Fix the bug".to_string(),
922 recorded_files: vec!["a.rs".to_string(), "b.rs".to_string()],
923 unhashed_data: None,
924 git_transition: None,
925 };
926
927 let display = outcome.to_string();
928 assert!(display.contains("Turn 3"));
929 assert!(display.contains("2 files"));
930}
931
932#[test]
933fn test_outcome_display_singular() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected