def test_basetype():
    grammar = """
        Rule:
            a1=BASETYPE
            a2=BASETYPE
            a3=BASETYPE
            a4=BASETYPE
            b=BASETYPE
            c=BASETYPE
            d=BASETYPE
            e=BASETYPE
        ;
    """

    meta = metamodel_from_str(grammar)
    assert meta
    assert meta['Rule']._tx_type is RULE_COMMON

    model = meta.model_from_str('False false true True 0 4.5 "string" some_id')

    assert model.a1 is False
    assert model.a2 is False
    assert model.a3 is True
    assert model.a4 is True
    assert model.b == 0.0
    assert model.c == 4.5
    assert model.d == "string"
    assert model.e == "some_id"
The plot interval for the default geometric plot of the Segment gives
dataset/ETHPy150Open igordejanovic/textX/tests/functional/test_textx_language.py/test_basetype--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/geometry/line.py/Segment.plot_interval