Use shorthand
This commit is contained in:
parent
c30642dcce
commit
150fa265de
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ type NightLightTests() =
|
||||||
| On(_, color) -> color = Red)
|
| On(_, color) -> color = Red)
|
||||||
|
|
||||||
[<Property(Arbitrary = [| typeof<ArbitraryNonRemotelyControlledLight> |])>]
|
[<Property(Arbitrary = [| typeof<ArbitraryNonRemotelyControlledLight> |])>]
|
||||||
let ``All non-remotely controlled lights should be on *if and only if* they have power`` (light: Light) =
|
let ``All non-remotely controlled lights should be on iff they have power`` (light: Light) =
|
||||||
genInitialInteractions light |> Arb.fromGen |> Prop.forAll
|
genInitialInteractions light |> Arb.fromGen |> Prop.forAll
|
||||||
<| fun interactions ->
|
<| fun interactions ->
|
||||||
let fakeHome = createFakeHomeWithNightLightAndInteract interactions
|
let fakeHome = createFakeHomeWithNightLightAndInteract interactions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue