()
| 924 | |
| 925 | #[test] |
| 926 | fn test_stats_empty() { |
| 927 | let (_dir, store) = temp_store(); |
| 928 | let stats = store.stats().unwrap(); |
| 929 | |
| 930 | assert_eq!(stats.change_count, 0); |
| 931 | assert_eq!(stats.graph_section_count, 0); |
| 932 | assert_eq!(stats.semantic_section_count, 0); |
| 933 | assert_eq!(stats.content_chunk_count, 0); |
| 934 | assert_eq!(stats.change_chunk_mappings, 0); |
| 935 | assert_eq!(stats.unhashed_count, 0); |
| 936 | } |
| 937 | |
| 938 | #[test] |
| 939 | fn test_stats_after_save() { |
nothing calls this directly
no test coverage detected