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

Function test_display_singular_turn

atomic-agent/src/turn/session.rs:1732–1738  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1730
1731 #[test]
1732 fn test_display_singular_turn() {
1733 let mut s = make_session();
1734 s.turn_count = 1;
1735 let display = s.to_string();
1736 assert!(display.contains("1 turn,"));
1737 assert!(!display.contains("1 turns"));
1738 }
1739
1740 // SessionState trait
1741

Callers

nothing calls this directly

Calls 1

make_sessionFunction · 0.70

Tested by

no test coverage detected