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

Function test_stats_empty

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

Source from the content-addressed store, hash-verified

1435
1436 #[test]
1437 fn test_stats_empty() {
1438 let stats = FileOpsStats::new();
1439
1440 assert_eq!(stats.total_file_ops(), 0);
1441 assert_eq!(stats.total_line_ops(), 0);
1442 assert_eq!(stats.total_token_ops(), 0);
1443 assert!(!stats.has_changes());
1444 }
1445
1446 #[test]
1447 fn test_stats_from_file_ops() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected