# Path: skyfield/data/text_pck.py
# def load(lines, variables):
# def parse(lines):
# def _evaluate(token):
# def _parse_tokens(lines):


from skyfield.data import text_pck

TEXT = b"""JPL/PCK
This is ignored.
\\begindata
A = 3
B = (4)
C = ( 5 'Six' )
D_+=( 7,8 )
E = (9 1.0000D1)
E += (11)
E += 12
\\begintext
This is also ignored.
E += (13)
"""

def test_loading():
    lines = TEXT.splitlines(True)
    variables = {}

# Path: skyfield/data/text_pck.py
# def load(lines, variables):
# def parse(lines):
# def _evaluate(token):
# def _parse_tokens(lines):


# Path: skyfield/tests/test_text_pck.py
from skyfield.data import text_pck


TEXT = b"""JPL/PCK
This is ignored.
\\begindata
A = 3
B = (4)
C = ( 5 'Six' )
D_+=( 7,8 )
E = (9 1.0000D1)
E += (11)
E += 12
\\begintext
This is also ignored.
E += (13)
"""

def test_loading():
    lines = TEXT.splitlines(True)
    variables = {}

    text_pck.load(lines, variables)