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

Function test_stats_display

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

Source from the content-addressed store, hash-verified

916
917 #[test]
918 fn test_stats_display() {
919 let stats = RegenStats {
920 files_regenerated: 10,
921 files_skipped: 2,
922 files_errored: 1,
923 lines_generated: 500,
924 tokens_generated: 3000,
925 elapsed_ms: 150,
926 used_parallel: true,
927 };
928 let display = format!("{}", stats);
929 assert!(display.contains("10 files"));
930 assert!(display.contains("500 lines"));
931 assert!(display.contains("3000 tokens"));
932 assert!(display.contains("parallel"));
933 }
934
935 #[test]
936 fn test_stats_display_sequential() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected