Changeset 5939


Ignore:
Timestamp:
Nov 11, 2008, 3:51:10 PM (16 years ago)
Author:
rwilson
Message:

Added test case from Ramarajan crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/test_polygon.py

    r5934 r5939  
    969969        P3 = [3.0, 0.0]
    970970        P4 = [4.0, 1.0e-9]
     971
     972        self.helper_test_parallel_intersection_code(P1, P2, P3, P4)       
     973
     974
     975    def test_intersection_bug_20081111(self):
     976        """test_intersection_bug_20081111(self)
     977
     978        Case from Rajaraman that is failing still.
     979        """
     980
     981        # define 4 *almost* collinear points
     982        #    P1---P2---P3---P4
     983        P1 = [2.0, 2.0]
     984        P2 = [0.0, 0.0]
     985        P3 = [1.0, 1.0]
     986        P4 = [0.0, 0.0]
    971987
    972988        self.helper_test_parallel_intersection_code(P1, P2, P3, P4)       
Note: See TracChangeset for help on using the changeset viewer.