updating values on other tests
@@ -12,7 +12,7 @@ class DNSTest():
im = ps.generators.lattice_spheres(shape=[200, 200],
radius=8, spacing=26)
t = ps.dns.tortuosity(im=im, axis=1, solver_family='scipy')
- assert np.around(t.tortuosity, decimals=6) == 1.353148
+ assert np.around(t.tortuosity, decimals=6) == 1.359947
def test_tortuosity_open_space(self):
im = np.ones([100, 100])
@@ -24,10 +24,11 @@ class DNSTest():
radius=8, spacing=26)
t = ps.dns.tortuosity(im=im, axis=1, solver_family='scipy',
solver_type='cg')
- assert np.around(t.tortuosity, decimals=6) == 1.353148
+ a = 1.359947
+ assert np.around(t.tortuosity, decimals=6) == a
t = ps.dns.tortuosity(im=im, axis=1, solver_family='scipy',
solver_type='bicg')
- assert np.around(t.tortuosity, decimals=6) == 1.353148
+ assert np.around(t.tortuosity, decimals=6) == a
with pytest.raises(AttributeError):
t = ps.dns.tortuosity(im=im, axis=1, solver_family='scipy',
solver_type='blah')
