Add Pixel.northeast/southwest properties
- the properties are needed for the drawing functionalitites
This commit is contained in:
parent
ca2ba0c9d5
commit
605ade4078
5 changed files with 96 additions and 2 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue