What is the best way to implement a unittest that compares two numpy float arrays.
I've tried unittest.assertEqual() but didn't work for float arrays because float are never 100% equal. I can't use assertAlmostEqual because it tests the round(floats) equality ...
does anyone emplemented something like this
self.assertFloatArrayEqual(array1, array2, msg = "array are not equal")
thanks