Fix statistic summary
This commit is contained in:
parent
62c8e446c9
commit
001b1e0af3
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ type NightLightTests() =
|
||||||
remotelyControlledLightsWithPower |> controlledBy RemoteLeft |> allOn
|
remotelyControlledLightsWithPower |> controlledBy RemoteLeft |> allOn
|
||||||
&& remotelyControlledLightsWithPower |> controlledBy RemoteRight |> allOff
|
&& remotelyControlledLightsWithPower |> controlledBy RemoteRight |> allOff
|
||||||
| None -> remotelyControlledLightsWithPower |> allOn
|
| None -> remotelyControlledLightsWithPower |> allOn
|
||||||
|> Prop.collect $"last remote interaction is {maybeLastRemoteInteraction}"
|
|> Prop.collect $"last remote interaction is {maybeLastRemoteInteraction |> Option.map snd}"
|
||||||
|> Prop.collect $"{remotelyControlledLightsWithPower.Length} remotely controlled light(s) with power"
|
|> Prop.collect $"{remotelyControlledLightsWithPower.Length} remotely controlled light(s) with power"
|
||||||
|> Prop.classify hasNewDayStartedSinceThen "new day has started since then"
|
|> Prop.classify hasNewDayStartedSinceThen "new day has started since then"
|
||||||
|> Prop.trivial (remotelyControlledLightsWithPower.Length = 0)
|
|> Prop.trivial (remotelyControlledLightsWithPower.Length = 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue