diff options
author | mdroe <mdroe@stsci.edu> | 2014-06-10 15:49:34 -0400 |
---|---|---|
committer | mdroe <mdroe@stsci.edu> | 2014-06-10 15:49:34 -0400 |
commit | 2d057cb32321f6d4ac76c57968bc4cfe58b661c6 (patch) | |
tree | 6b85cf84692874202375ac556620ba37cf96468a /stsci/sphere/test/test_intersection.py | |
parent | 6ae25bb6cfc14a9b4f71db4c4ea7552194c2528e (diff) | |
download | stsci.sphere-2d057cb32321f6d4ac76c57968bc4cfe58b661c6.tar.gz |
Better track the nodes' source so we can do better internal/external edge removal.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32435 fe389314-cf27-0410-b35b-8c050e845b92
Former-commit-id: a97410e5abab2ffefba2f393909abf76af76cf75
Diffstat (limited to 'stsci/sphere/test/test_intersection.py')
-rw-r--r-- | stsci/sphere/test/test_intersection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stsci/sphere/test/test_intersection.py b/stsci/sphere/test/test_intersection.py index 08ed258..8127e95 100644 --- a/stsci/sphere/test/test_intersection.py +++ b/stsci/sphere/test/test_intersection.py @@ -176,7 +176,7 @@ def test6(): return [poly1, poly2] -def test_union_empty(): +def test_intersection_empty(): p = polygon.SphericalPolygon.from_cone( random.randrange(-180, 180), random.randrange(20, 90), @@ -185,7 +185,7 @@ def test_union_empty(): p2 = p.intersection(polygon.SphericalPolygon([])) - assert_array_almost_equal(p2._points, p._points) + assert_array_almost_equal(p2._points, []) if __name__ == '__main__': |