Example #1
0
 def test_absolute2(self):
     target = self.d1
     out = one_minus(np.arange(5))
     self.assertTrue((out == target).all())
Example #2
0
 def test_absolute2(self):
     target = self.d1
     out = one_minus(np.arange(5))
     self.assertTrue((out == target).all())
Example #3
0
 def test_absolute2(self):
     target = self.d1
     out = one_minus(np.arange(5))
     self.failUnless((out == target).all())