Skip to content

Commit 0f8842c

Browse files
committed
TEST: Check non-integral slopes, intercepts
1 parent 7527247 commit 0f8842c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/tests/test_proxy_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ def obj_params(self):
216216
offsets = (self.header_class().get_data_offset(),)
217217
else:
218218
offsets = (0, 16)
219-
slopes = (1., 2.) if self.has_slope else (1.,)
220-
inters = (0., 10.) if self.has_inter else (0.,)
219+
slopes = (1., 2., 3.1416) if self.has_slope else (1.,)
220+
inters = (0., 10., 2.7183) if self.has_inter else (0.,)
221221
dtypes = (np.uint8, np.int16, np.float32)
222222
for shape, dtype, offset, slope, inter in product(self.shapes,
223223
dtypes,

0 commit comments

Comments
 (0)