Checkpoint initial implementation
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
from pytest import fixture
|
||||
|
||||
import tungston.core.altitude as A
|
||||
|
||||
|
||||
# Fixtures #########################################################################################
|
||||
|
||||
@fixture(name="merged")
|
||||
def mergeRange():
|
||||
yield A.span(A.UPLANDS, A.LOWLANDS)
|
||||
|
||||
|
||||
# Tests ############################################################################################
|
||||
|
||||
def test_span(merged):
|
||||
assert merged.bottom == A.LOWLANDS.bottom
|
||||
assert merged.top == A.UPLANDS.top
|
||||
|
||||
Reference in New Issue
Block a user