Beispiel #1
0
 def test_absMax(self):
   A = VectorMatrix(Shape(10,10,10))
   for idx in range(A.size()):
     A.set(idx, (10,10,10))
   A.set(500, (10,20,30))
   self.assertTrue(A.absMax() - 37.41657387 < 0.0001)
 def test_absMax(self):
     A = VectorMatrix(Shape(10,10,10))
     for idx in range(A.size()):
         A.set(idx, (10,10,10))
     A.set(500, (10,20,30))
     self.assertTrue(A.absMax() - 37.41657387 < 0.0001)