def test_objects_boolean_false(): tree = Tree('boolean', [Token('FALSE', 'false')]) assert Objects.boolean(tree) == {'$OBJECT': 'boolean', 'boolean': False}
def test_objects_boolean_false(): tree = Tree("boolean", [Token("FALSE", "false")]) assert Objects.boolean(tree) == {"$OBJECT": "boolean", "boolean": False}
def test_objects_boolean(): tree = Tree('boolean', [Token('TRUE', 'true')]) assert Objects.boolean(tree) == {'$OBJECT': 'boolean', 'boolean': True}
def test_objects_boolean(): tree = Tree("boolean", [Token("TRUE", "true")]) assert Objects.boolean(tree) == {"$OBJECT": "boolean", "boolean": True}