Demonstrate a bug
This commit is contained in:
parent
e792a57cb4
commit
7472825140
4 changed files with 23 additions and 1 deletions
|
|
@ -139,3 +139,8 @@ type FakeHome with
|
|||
| On(brightness, color) -> Some(light, brightness, color)
|
||||
| Off -> None)
|
||||
|> Seq.forall condition
|
||||
|
||||
member this.ForAllRemotelyControlledLights condition =
|
||||
this.LightStates
|
||||
|> Seq.filter (fst >> _.ControlledWithRemote)
|
||||
|> Seq.forall condition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue