grid-strategy icon indicating copy to clipboard operation
grid-strategy copied to clipboard

Add hypothesis tests

Open pganssle opened this issue 6 years ago • 0 comments

There's at least one property test that I think would be useful: we can assert that:

def test_arrangement(strategy, n):
    sum(strategy.get_grid_arrangement(n)) == n

Getting a grid arrangement that has the number of plots we want in it.

We just need to add hypothesis to the test dependencies and design an appropriate (hypothesis) strategy.

pganssle avatar Feb 24 '19 16:02 pganssle