Skip to content
Snippets Groups Projects
Commit 7c2cca6d authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[test] [python] Add test_case

parent a6f39d1b
No related branches found
No related tags found
No related merge requests found
import unittest
import numpy as np
class TestCase(unittest.TestCase):
def assertApprox(self, a, b, epsilon=1e-6):
return self.assertTrue(np.allclose(a, b, epsilon), "%s !~= %s" % (a, b))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment