Intro
I remember to strugle a lot for comparing unit testing arrays one day and then my boss came and “Francisco, come on, use Numpy testing!” Boom! nice clean.
Numpy testing
You can find it here [1] and currently uses pytest framework to test the things.
assert_almost_equal
What saved me that day was assert_equals and all its friends.