我有以下代码用于在以下站点上创建挑战:codewars
describe "Random cases" $ do
it "It should handle random test cases" $
property $ prop_check where
prop_check (Positive x) = solution x == ref_sol x
--- ref_sol function
我想将x
prop_check 中的值设置为大于 4 的正整数,最大为五位数(不超过五位数,即:最大值 = 99999)。
我将如何接近它?