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

Function test_stats_total_token_ops

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

Source from the content-addressed store, hash-verified

323
324#[test]
325fn test_stats_total_token_ops() {
326 let mut stats = RecordStats::new();
327 stats.tokens_added = 20;
328 stats.tokens_deleted = 8;
329 stats.tokens_replaced = 2;
330 assert_eq!(stats.total_token_ops(), 30);
331}
332
333#[test]
334fn test_stats_has_crdt_stats() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected