Skip to content

Commit 23e9ba7

Browse files
committed
q460: decrease proptest cases to avoid stack overflow
1 parent d22f3cc commit 23e9ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

implementations/q460_lfu_cache/tests/proptest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn test_lfu_cache_with_operations(capacity: i32, operations: Vec<CacheOperation>
6464

6565
#[test]
6666
fn test_lfu_cache_implementations() {
67-
let config = ProptestConfig::with_cases(20); // Number of test cases to generate
67+
let config = ProptestConfig::with_cases(2); // Number of test cases to generate
6868
proptest!(config, |(capacity in 1..=10_000i32, operations in operation_sequence_strategy())| {
6969
test_lfu_cache_with_operations(capacity, operations);
7070
});

0 commit comments

Comments
 (0)