Skip to content

Commit

Permalink
Adjust boundaries for at_most and at_least prop tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Mar 15, 2024
1 parent 4f31a31 commit 181a160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/aiken/fuzz.test.ak
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ test prop_list_at_most(params via list_at_most()) {
}

fn int_at_least() -> Fuzzer<(Int, Int)> {
let min <- and_then(int_between(0, 10))
let min <- and_then(int())
let n <- map(fuzz.int_at_least(min))
(min, n)
}
Expand All @@ -116,7 +116,7 @@ test prop_int_at_least(params via int_at_least()) {
}

fn int_at_most() -> Fuzzer<(Int, Int)> {
let max <- and_then(int_between(0, 10))
let max <- and_then(int())
let n <- map(fuzz.int_at_most(max))
(max, n)
}
Expand Down

0 comments on commit 181a160

Please sign in to comment.