_评论者:gfredericks_
所以这看起来是同一个问题?
(quick-check 10000
(prop/for-all [tree (gen/recursive-gen gen/vector gen/large-integer)]
(->> tree
(tree-seq coll? seq)
(not-any? #{4242}))))
;; =>
{:result false,
:seed 1466641044276,
:failing-size 151,
:num-tests 3152,
:fail [[[-250312923371676 -2634403398808308]
[-134580]
1190117809715
[1736827773692]
[91379147228 281572852]
[]
[]
[264322377680727]
[-2 -2005122340306]
[]
[]
[2133414023]
[]
[-7203148411369 2093087]
[-1 -1]
[-350804570003194 -24726]
[-2145238760990835556]
[-4410884650149229158 27914810]
[]
[21126727]
[816412492 102]
[1]
[-119 -2132126120873]
[50]
[1590594626470485464 -555554916273244]
[4242 322325]]],
:shrunk {:total-nodes-visited 57,
:depth 11,
:result false,
;; 应当缩小到 `4242`
:smallest [[[4242]]]}}