Ignore:
Timestamp:
Jan 19, 2009, 10:10:16 AM (11 years ago)
Author:
ole
Message:

Minor bug in test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/pmesh/test_mesh_interface.py

    r6179 r6199  
    131131        polygon = geo_ref_poly.change_points_geo_ref(polygon_absolute)
    132132
    133         boundary_tags = {'walls':[0,1],'bom':[2]}
     133        boundary_tags = {'walls':[0,1],'bom':[2,3]}
    134134       
    135135        inner1_polygon_absolute = [[10,10],[20,10],[20,20],[10,20]]
     
    159159              clear=1)
    160160
     161        #print polygon
     162        #print boundary_tags
    161163       
    162164        m = create_mesh_from_regions(polygon,
     
    185187        self.failUnless(segs[2].tag=='bom',
    186188                        'FAILED!')
    187         self.failUnless(segs[3].tag=='',
     189        self.failUnless(segs[3].tag=='bom',
    188190                        'FAILED!')
    189191
Note: See TracChangeset for help on using the changeset viewer.