def test_cylinder():
 md = create_cylinder(10, 20, radius=[10, 10])
 radii = np.sqrt((md.get_vertices()[:, :2] ** 2).sum(axis=1))
 assert_allclose(radii, (np.ones_like(radii) * 10))

def test_cylinder ( ) : md = create_cylinder ( 10 , 20 , radius = [ 10 , 10 ] ) radii = np . sqrt ( ( md . get_vertices ( ) [ : , : 2 ] ** 2 ) . sum ( axis = 1 ) ) assert_allclose ( radii , ( np . ones_like ( radii ) * 10 ) )
test cylinder function .