14 lines
348 B
Python
14 lines
348 B
Python
from solution import extract
|
|
|
|
|
|
def test_basic():
|
|
assert extract("TIMESTAMP=2026-05-04T14:32:01Z") == ("2026-05-04", "14:32:01")
|
|
|
|
|
|
def test_apollo():
|
|
assert extract("TIMESTAMP=1969-07-20T13:32:00Z") == ("1969-07-20", "13:32:00")
|
|
|
|
|
|
def test_end_of_century():
|
|
assert extract("TIMESTAMP=2099-12-31T23:59:59Z") == ("2099-12-31", "23:59:59")
|