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

Function test_stats_display

atomic-core/src/change/ops.rs:1479–1489  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1477
1478 #[test]
1479 fn test_stats_display() {
1480 let mut stats = FileOpsStats::new();
1481 stats.files_created = 2;
1482 stats.lines_added = 10;
1483 stats.tokens_added = 50;
1484
1485 let display = format!("{}", stats);
1486 assert!(display.contains("2 files"));
1487 assert!(display.contains("10 lines"));
1488 assert!(display.contains("50 tokens"));
1489 }
1490
1491 // Serialization Tests
1492

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected