def test_vertext_attribs_vseb(): result = vertex_attribs(((1, 2), 3, 4, .5), format='vseb') assert result == { 'location': Vector(1, 2), 'bulge': 0.5, 'start_width': 3, 'end_width': 4 }
def test_vertext_attribs_vseb(): result = vertex_attribs(((1, 2), 3, 4, 0.5), format="vseb") assert result == { "location": Vec3(1, 2), "bulge": 0.5, "start_width": 3, "end_width": 4, }
def test_vertext_attribs_xyb(): result = vertex_attribs((1, 2, .5), format='xyb') assert result == {'location': Vector(1, 2), 'bulge': 0.5}
def test_vertext_attribs_xy(): result = vertex_attribs((1, 2), format='xy') assert result == {'location': Vector(1, 2)}
def test_vertext_attribs_xy(): result = vertex_attribs((1, 2), format="xy") assert result == {"location": Vec3(1, 2)}
def test_vertext_attribs_xyb(): result = vertex_attribs((1, 2, 0.5), format="xyb") assert result == {"location": Vec3(1, 2), "bulge": 0.5}