Simplify function names

This commit is contained in:
Sven van Heugten 2026-01-14 22:04:34 +01:00
parent d509829304
commit c342f06e82
2 changed files with 15 additions and 15 deletions

View file

@ -17,13 +17,13 @@ let private genRemoteInteraction =
let private genInteraction biasTowardsLight =
Gen.oneof [ genTimeChanged; genHumanInteraction biasTowardsLight; genRemoteInteraction ]
let genRandomInteractionsExcept biasTowardsLight disqualifier =
let genInteractionsExcept biasTowardsLight disqualifier =
genInteraction biasTowardsLight
|> Gen.filter (not << disqualifier)
|> Gen.listOf
let genRandomInteractions biasTowardsLight =
genRandomInteractionsExcept biasTowardsLight (fun _ -> false)
let genInteractions biasTowardsLight =
genInteractionsExcept biasTowardsLight (fun _ -> false)
let ensureStartsWithTimeChanged (genInteractions: Gen<Interaction list>) =
genInteractions