Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用hedgehog-fn时,是否可以创建生成满足特定标准的函数的函数生成器?
例如:是否有可能有一个只生成双射函数的函数生成器?
生成随机函数仍然是一项艰巨的任务。hedgehog-fn目前无能为力,请参阅此问题:
hedgehog-fn
根据我的经验,如果您需要针对特定功能进行测试,最好手动定义几个功能,然后随机选择一个。