Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2279 by [email protected]: Incorrect tests for ellipse
http://code.google.com/p/sympy/issues/detail?id=2279

In test_geometry.py
p2 = Point(1, 1)
e2 = Ellipse(p2, half, 1) (line 191)

e2.eccentricity is (3)**(1/2) which is wrong. This is because it is required that self.hradius > self.vradius for the implementation to work. Either the implementation needs to be fixed so that it does not matter if hradius and vradius are greater than or less than equal to each other or we raise an assertion error if hradius < vradius in the constructor.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to