def testFindMaximum(self): """Test the correct computation of a local minimum.""" self.assertEqual(numpy.argmax(-self.a), MRA.findMaxima(-self.a, 5)[0])