Ignore:
Timestamp:
Mar 4, 2009, 8:26:22 AM (15 years ago)
Author:
rwilson
Message:

After changes to get_absolute, ensure_numeric, etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/shallow_water/test_shallow_water_domain.py

    r6410 r6441  
    60626062        #The diagonal points of domain 1 are 0, 5, 10, 15
    60636063
    6064         #print points[0], points[5], points[10], points[15]
    6065         msg = ('value was\n%s\nshould be\n'
    6066                '[[0,0], [1.0/3, 1.0/3],\n'
    6067                '[2.0/3, 2.0/3], [1,1]]'
    6068                % str(num.take(points, [0,5,10,15], axis=0)))
    60696064        assert num.allclose(num.take(points, [0,5,10,15], axis=0),
    6070                             [[0,0], [1.0/3, 1.0/3], [2.0/3, 2.0/3], [1,1]]), msg
     6065                            [[0,0], [1.0/3, 1.0/3], [2.0/3, 2.0/3], [1,1]])
    60716066
    60726067
     
    66436638       
    66446639if __name__ == "__main__":
    6645     #suite = unittest.makeSuite(Test_Shallow_Water, 'test')
    6646     suite = unittest.makeSuite(Test_Shallow_Water, 'test_get_maximum_inundation_from_sww')
     6640    suite = unittest.makeSuite(Test_Shallow_Water, 'test')
    66476641    runner = unittest.TextTestRunner(verbosity=1)   
    66486642    runner.run(suite)
Note: See TracChangeset for help on using the changeset viewer.