Changeset 568


Ignore:
Timestamp:
Nov 16, 2004, 5:07:56 PM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/test_least_squares.py

    r567 r568  
    135135        interp = Interpolation(points, triangles, data_points)
    136136
    137         answer = [[0.0, 0.0, 0.0,  1.0, 0.0, 0.0],   #Affects point d     
     137        answer = [[0.0, 0.0, 0.0, 1.0, 0.0, 0.0],    #Affects point d     
    138138                  [0.5, 0.0, 0.0, 0.5, 0.0, 0.0],    #Affects points a and d
    139139                  [0.75, 0.25, 0.0, 0.0, 0.0, 0.0],  #Affects points a and b
    140140                  [0.0, 0.5, 0.0, 0.5, 0.0, 0.0],    #Affects points a and d
    141141                  [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 f
    143 
    144 
    145         #FIXME: This test failed on our Linux box, but not on WIndows.
     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.
    146146        A = interp.get_A()
    147147        for i in range(A.shape[0]):
     
    682682#-------------------------------------------------------------
    683683if __name__ == "__main__":
    684     suite = unittest.makeSuite(TestCase,'test')
     684    suite = unittest.makeSuite(TestCase,'test_more_tri')
    685685    runner = unittest.TextTestRunner(verbosity=1)
    686686    runner.run(suite)
Note: See TracChangeset for help on using the changeset viewer.