nismod / snail

spatial networks impact assessment library 🐌
https://nismod.github.io/snail/
MIT License
9 stars 1 forks source link

Refactor test `test_split_polygon` #31

Closed tomalrussell closed 11 months ago

tomalrussell commented 2 years ago

From note in #26 -

At the Python API level (in test_snail_intersections.py). Helper functions and definition of starting and expected geometries are getting messy.

Maybe extract definition of coordinate sequence in separate file test_shapes.py and rearrange test classes and functions a bit.

tomalrussell commented 11 months ago

Set up as fixtures as of 83c0b07b2e