How to make custom Hypothesis strategy to supply custom objects?
How to make custom Hypothesis strategy to supply custom objects? Question: Suppose I have a class Thing class Thing: def __init__(self, x, y): … And suppose I have a function which acts on a list of things. def do_stuff(list_of_things): … I would like to write unit tests for do_stuff involving different instances of lists of …