Lines Matching refs:assert_eq
100 assert_eq!( in test_all_settings()
104 assert_eq!(conf.worker_event_queue_size(), 0x10); in test_all_settings()
105 assert_eq!(conf.baseline_compression_level(), 3); in test_all_settings()
106 assert_eq!(conf.optimized_compression_level(), 20); in test_all_settings()
107 assert_eq!(conf.optimized_compression_usage_counter_threshold(), 0x100); in test_all_settings()
108 assert_eq!(conf.cleanup_interval(), Duration::from_secs(60 * 60)); in test_all_settings()
109 assert_eq!( in test_all_settings()
113 assert_eq!( in test_all_settings()
117 assert_eq!(conf.file_count_soft_limit(), 0x10_000); in test_all_settings()
118 assert_eq!(conf.files_total_size_soft_limit(), 512 * (1u64 << 20)); in test_all_settings()
119 assert_eq!(conf.file_count_limit_percent_if_deleting(), 70); in test_all_settings()
120 assert_eq!(conf.files_total_size_limit_percent_if_deleting(), 70); in test_all_settings()
135 assert_eq!(conf.baseline_compression_level(), 1); in test_compression_level_settings()
136 assert_eq!(conf.optimized_compression_level(), 21); in test_compression_level_settings()
169 assert_eq!(conf.worker_event_queue_size(), 42); in test_si_prefix_settings()
170 assert_eq!(conf.optimized_compression_usage_counter_threshold(), 4_000); in test_si_prefix_settings()
171 assert_eq!(conf.file_count_soft_limit(), 3_000_000); in test_si_prefix_settings()
182 assert_eq!(conf.worker_event_queue_size(), 2_000); in test_si_prefix_settings()
183 assert_eq!( in test_si_prefix_settings()
187 assert_eq!(conf.file_count_soft_limit(), 1_000_000_000_000_000); in test_si_prefix_settings()
233 assert_eq!(conf.files_total_size_soft_limit(), 76); in test_disk_space_settings()
242 assert_eq!(conf.files_total_size_soft_limit(), 42 * (1u64 << 20)); in test_disk_space_settings()
251 assert_eq!(conf.files_total_size_soft_limit(), 2 * (1u64 << 30)); in test_disk_space_settings()
260 assert_eq!(conf.files_total_size_soft_limit(), 31337 * (1u64 << 40)); in test_disk_space_settings()
269 assert_eq!(conf.files_total_size_soft_limit(), 7 * (1u64 << 50)); in test_disk_space_settings()
278 assert_eq!(conf.files_total_size_soft_limit(), 7_000_000); in test_disk_space_settings()
326 assert_eq!(conf.cleanup_interval(), Duration::from_secs(100)); in test_duration_settings()
327 assert_eq!( in test_duration_settings()
331 assert_eq!( in test_duration_settings()
344 assert_eq!( in test_duration_settings()
348 assert_eq!( in test_duration_settings()
414 assert_eq!(conf.file_count_limit_percent_if_deleting(), 62); in test_percent_settings()
415 assert_eq!(conf.files_total_size_limit_percent_if_deleting(), 23); in test_percent_settings()
472 assert_eq!(config.directory, expected_config.directory); in test_builder_default()
473 assert_eq!( in test_builder_default()
477 assert_eq!( in test_builder_default()
481 assert_eq!( in test_builder_default()
485 assert_eq!( in test_builder_default()
489 assert_eq!(config.cleanup_interval, expected_config.cleanup_interval); in test_builder_default()
490 assert_eq!( in test_builder_default()
494 assert_eq!( in test_builder_default()
498 assert_eq!( in test_builder_default()
502 assert_eq!( in test_builder_default()
506 assert_eq!( in test_builder_default()
510 assert_eq!( in test_builder_default()
537 assert_eq!( in test_builder_all_settings()
541 assert_eq!(conf.worker_event_queue_size(), 0x10); in test_builder_all_settings()
542 assert_eq!(conf.baseline_compression_level(), 3); in test_builder_all_settings()
543 assert_eq!(conf.optimized_compression_level(), 20); in test_builder_all_settings()
544 assert_eq!(conf.optimized_compression_usage_counter_threshold(), 0x100); in test_builder_all_settings()
545 assert_eq!(conf.cleanup_interval(), Duration::from_secs(60 * 60)); in test_builder_all_settings()
546 assert_eq!( in test_builder_all_settings()
550 assert_eq!( in test_builder_all_settings()
554 assert_eq!(conf.file_count_soft_limit(), 0x10_000); in test_builder_all_settings()
555 assert_eq!(conf.files_total_size_soft_limit(), 512 * (1u64 << 20)); in test_builder_all_settings()
556 assert_eq!(conf.file_count_limit_percent_if_deleting(), 70); in test_builder_all_settings()
557 assert_eq!(conf.files_total_size_limit_percent_if_deleting(), 70); in test_builder_all_settings()