示例#1
0
def test_type__scalar__get_ofType():
    type_object = TypeObject(None, Boolean, None)
    assert type_object.get_ofType() is None
示例#2
0
def test_type__enum__get_ofType():
    type_object = TypeObject(None, TypeKindEnum, None)
    assert type_object.get_ofType() is None
示例#3
0
def test_type__list__get_ofType():
    type_object = TypeObject(None, List(Character), None)
    assert type_object.get_ofType() is Character
示例#4
0
def test_type__object__get_ofType():
    type_object = TypeObject(None, TypeObject, None)
    assert type_object.get_ofType() is None