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

Function test_truncate_prompt_exact

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

Source from the content-addressed store, hash-verified

49
50#[test]
51fn test_truncate_prompt_exact() {
52 let s = "a".repeat(72);
53 assert_eq!(truncate_prompt(&s, 72), s);
54}
55
56#[test]
57fn test_truncate_prompt_long() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected