Simplify function names
This commit is contained in:
parent
d509829304
commit
c342f06e82
2 changed files with 15 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue