Changeset 568
- Timestamp:
- Nov 16, 2004, 5:07:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/test_least_squares.py
r567 r568 135 135 interp = Interpolation(points, triangles, data_points) 136 136 137 answer = [[0.0, 0.0, 0.0, 1.0, 0.0, 0.0],#Affects point d137 answer = [[0.0, 0.0, 0.0, 1.0, 0.0, 0.0], #Affects point d 138 138 [0.5, 0.0, 0.0, 0.5, 0.0, 0.0], #Affects points a and d 139 139 [0.75, 0.25, 0.0, 0.0, 0.0, 0.0], #Affects points a and b 140 140 [0.0, 0.5, 0.0, 0.5, 0.0, 0.0], #Affects points a and d 141 141 [0.25, 0.75, 0.0, 0.0, 0.0, 0.0], #Affects points a and b 142 [1./3, 0.0, 0.0, 0.0, 1./3, 1./3]] #Affects points a, e and f143 144 145 #FIXME: This test failed on our Linux box, but not on W Indows.142 [1./3, 0.0, 0.0, 0.0, 1./3, 1./3]] #Affects points a, e and f 143 144 145 #FIXME: This test failed on our Linux box, but not on Windows. 146 146 A = interp.get_A() 147 147 for i in range(A.shape[0]): … … 682 682 #------------------------------------------------------------- 683 683 if __name__ == "__main__": 684 suite = unittest.makeSuite(TestCase,'test ')684 suite = unittest.makeSuite(TestCase,'test_more_tri') 685 685 runner = unittest.TextTestRunner(verbosity=1) 686 686 runner.run(suite)
Note: See TracChangeset
for help on using the changeset viewer.