Skip to content

Commit

Permalink
q460: decrease proptest cases to avoid stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drink7036290 committed Nov 30, 2024
1 parent d22f3cc commit 23e9ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementations/q460_lfu_cache/tests/proptest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn test_lfu_cache_with_operations(capacity: i32, operations: Vec<CacheOperation>

#[test]
fn test_lfu_cache_implementations() {
let config = ProptestConfig::with_cases(20); // Number of test cases to generate
let config = ProptestConfig::with_cases(2); // Number of test cases to generate
proptest!(config, |(capacity in 1..=10_000i32, operations in operation_sequence_strategy())| {
test_lfu_cache_with_operations(capacity, operations);
});
Expand Down

0 comments on commit 23e9ba7

Please sign in to comment.