Add Pixel.northeast/southwest properties

- the properties are needed for the drawing functionalitites
This commit is contained in:
Alexander Hess 2021-01-26 17:02:51 +01:00
commit 605ade4078
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
5 changed files with 96 additions and 2 deletions

View file

@ -140,6 +140,13 @@ class TestProperties:
assert result == ZONE
def test_zone_details(self, location):
"""Test `Location.zone_details` property."""
result = location.zone_details
zone, band = result
assert ZONE == f'{zone}{band}'
class TestRelateTo:
"""Test the `Location.relate_to()` method and the `.x` and `.y` properties."""