tests.geometry package
Submodules
tests.geometry.test_geometry module
Created on Thu Apr 15, 13:26:42 2021
@author: HugoFara
- class tests.geometry.test_geometry.TestCircleLineIntersection(methodName='runTest')
Bases:
TestCase
Various tests on straight line intersections.
- test_crossing()
Test a straight line crossing a circle twice.
- test_no_crossing()
Test a line and a circle not crossing each other.
- test_tangent()
Test a straight line tangent to a circle.
This is a dangerous test, so we only want a success rate over 90%.