I was adding reports to some of the challenges in The Shrinking Challenge, namely Length List.
Hedgehog was not finding the optimal shrink, so I took a look at Shrink.list.
It appears to skip over the singleton case?
#r "nuget: Hedgehog, 2.0.3"
open Hedgehog
for xs in Shrink.list [1; 2; 3] do
printfn "%A" xs
// []
// [2; 3]
// [1; 3]
// [1; 2]
I was adding reports to some of the challenges in The Shrinking Challenge, namely Length List.
Hedgehog was not finding the optimal shrink, so I took a look at
Shrink.list.It appears to skip over the singleton case?