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

Function test_workspace_stats_empty

atomic-core/src/apply/workspace.rs:1117–1123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1115
1116 #[test]
1117 fn test_workspace_stats_empty() {
1118 let workspace = Workspace::new();
1119 let stats = workspace.stats();
1120
1121 assert!(stats.is_empty());
1122 assert_eq!(stats.total(), 0);
1123 }
1124
1125 #[test]
1126 fn test_workspace_stats_populated() {

Callers

nothing calls this directly

Calls 1

statsMethod · 0.45

Tested by

no test coverage detected