Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_transform_vertex(self, vtx_original, vtx_transformed):
transform = {"scale":[0.001,0.001,0.001],"translate":[90409.32,435440.44,0.0]}
res = models.Geometry._transform_vertex(vtx_original, transform)
assert all([isclose(res[i], v) for i,v in enumerate(vtx_transformed)])
return list(map(lambda v_i: Geometry._transform_vertex(vertices[v_i], transform), ring))
else: