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

Function test_stats_total_line_changes

atomic-repository/src/record/tests.rs:316–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314
315#[test]
316fn test_stats_total_line_changes() {
317 let mut stats = RecordStats::new();
318 stats.lines_added = 10;
319 stats.lines_deleted = 5;
320 stats.lines_modified = 3;
321 assert_eq!(stats.total_line_changes(), 18);
322}
323
324#[test]
325fn test_stats_total_token_ops() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected