Skip to content

Commit

Permalink
Add a few missing Prop.ForAll overloads.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtschelfthout committed Sep 11, 2021
1 parent 6dc45a1 commit 4406d82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FsCheck Release Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

* Added a few missing methods in `Fluent.Arbitrary`.

* Add a few missing `Prop.ForAll` overloads.


### 3.0.0-beta1 - 5 September 2021

Expand Down
4 changes: 4 additions & 0 deletions src/FsCheck/Fluent.Prop.fs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ type Prop private() =

static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,bool>) = Prop.forAll arb body.Invoke

static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Threading.Tasks.Task>) = forAll arb body.Invoke

static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Threading.Tasks.Task<bool>>) = forAll arb body.Invoke

static member ForAll(arb:Arbitrary<'Value>, body:Func<'Value,Property>) = forAll arb body.Invoke
Expand All @@ -23,6 +25,8 @@ type Prop private() =

static member ForAll(body:Func<'Value,bool>) = property body.Invoke

static member ForAll(body:Func<'Value,Threading.Tasks.Task>) = property body.Invoke

static member ForAll(body:Func<'Value,Threading.Tasks.Task<bool>>) = property body.Invoke

static member ForAll(body:Func<'Value,Property>) = property body.Invoke
Expand Down

0 comments on commit 4406d82

Please sign in to comment.