def test_default_new(): entity = Ray.new(handle='ABBA', owner='0', dxfattribs={ 'color': 7, 'start': (1, 2, 3), 'unit_vector': (4, 5, 6), }) assert entity.dxf.layer == '0' assert entity.dxf.color == 7 assert entity.dxf.start == (1, 2, 3) assert entity.dxf.unit_vector == (4, 5, 6)
def test_default_new(): entity = Ray.new( handle="ABBA", owner="0", dxfattribs={ "color": 7, "start": (1, 2, 3), "unit_vector": (4, 5, 6), }, ) assert entity.dxf.layer == "0" assert entity.dxf.color == 7 assert entity.dxf.start == (1, 2, 3) assert entity.dxf.unit_vector == (4, 5, 6)