#python

import testing

setup = testing.setup_mesh_source_test("PolyCylinder")

setup.source.top_segments = 2
setup.source.bottom_segments = 2

testing.require_valid_mesh(setup.document, setup.source.get_property("output_mesh"))
testing.require_similar_mesh(setup.document, setup.source.get_property("output_mesh"), "mesh.source.PolyCylinder.caps", 2, ["Darwin-i386"])

