Changeset 4210 for anuga_core/source


Ignore:
Timestamp:
Feb 4, 2007, 8:30:50 PM (18 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/mesh_engine/test_generate_meshII.py

    r4155 r4210  
    2626        holelist = []
    2727        regionlist = []
    28 
    29         points = [(0.0,0.0),(0.0,10.0),(3.0,0.0),(3.0,10.0),(0.0,10.0)]
    30         pointattlist = [[],[],[],[],[]]
    31         regionlist.append( (1.2,1.2,5.0) )
    32         seglist = [(0,4),(4,1),(1,3),(3,2),(2,0)]
     28       
     29        points = [(0.0,0.0),(0.0,10.0),(3.0,0.0),(3.0,10.0),(0.0,10.0)]
     30        pointattlist = [[],[],[],[],[]]
     31        regionlist.append( (1.2,1.2,5.0) )
     32        seglist = [(0,4),(4,1),(1,3),(3,2),(2,0)]
    3333        segattlist = [0,0,0,0,0]
    3434       
     
    3737                              pointattlist,segattlist, mode, points)
    3838        #print "data['generatedtrianglelist']", data['generatedtrianglelist']
     39       
    3940        self.failUnless(data['generatedtrianglelist'] ==[(4, 0, 2), (2, 3, 4)],
    4041                        'trianglelist is wrong!')
Note: See TracChangeset for help on using the changeset viewer.