def edge_ellipse(): e1 = cm.ellipse(2.0, 1.0) save_top(e1, 'edge_ellipse.png', (0.0, 0.0, 0.0))
def test_ellipse(self): e1 = cm.ellipse(2.0, 1.0) self.assert_(close(9.701, e1.length(), 0.001))