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

Function test_batch_stats_display

atomic-repository/src/semantic_regen.rs:956–971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

954
955 #[test]
956 fn test_batch_stats_display() {
957 let stats = BatchRegenStats {
958 changes_processed: 10,
959 changes_regenerated: 8,
960 changes_skipped: 1,
961 changes_errored: 1,
962 total_files: 50,
963 total_lines: 5000,
964 total_tokens: 30000,
965 elapsed_ms: 1500,
966 };
967 let display = format!("{}", stats);
968 assert!(display.contains("8 changes"));
969 assert!(display.contains("50 files"));
970 assert!(display.contains("1500ms"));
971 }
972
973 // ── tokenize_single_file (internal) ────────────────────────────
974

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected