Skip to content

Commit

Permalink
See diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
1ozturkbe committed Nov 26, 2019
1 parent ca724ba commit 19f9398
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions robust/testing/t_primitives.py
Expand Up @@ -110,10 +110,13 @@ def test_methods(self):
# sol.save(os.path.dirname(__file__) +
# 'diffs/test_methods/' +
# method['name'] + '_' + uncertainty_set)
self.assertTrue(sol.almost_equal(pickle.load(open(os.path.dirname(__file__) +
'/diffs/test_methods/' +
method['name'] + '_' + uncertainty_set)),
reltol=1e-2, sens_abstol=1e-2))
# self.assertTrue(sol.almost_equal(pickle.load(open(os.path.dirname(__file__) +
# '/diffs/test_methods/' +
# method['name'] + '_' + uncertainty_set)),
# reltol=1e-2, sens_abstol=1e-2))
print(sol.diff(pickle.load(open(os.path.dirname(__file__) +
'diffs/test_methods/' +
method['name'] + '_' + uncertainty_set))))

TESTS = [TestPrimitives]

Expand Down

0 comments on commit 19f9398

Please sign in to comment.