Numpy testing for good

All
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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s