mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-09 19:18:41 +00:00
Cap runtime of test (#73)
This commit is contained in:
@@ -11,6 +11,8 @@ module TestList =
|
||||
[<Test>]
|
||||
let ``combinations has right size`` () =
|
||||
let property (xs : int list list) =
|
||||
let xs = if xs.Length > 6 then xs |> List.take 6 else xs
|
||||
let xs = xs |> List.map (fun xs -> if xs.Length > 6 then xs |> List.take 6 else xs)
|
||||
let combs = List.combinations xs
|
||||
|
||||
combs.Length
|
||||
|
Reference in New Issue
Block a user