Skip to content

Commit

Permalink
restore full test
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Nov 19, 2024
1 parent 9d404c9 commit 870b4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyFAI/opencl/test/test_preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_preproc(self):
"""
from ..preproc import preproc
ary = numpy.arange(12).reshape(4,3)
for dtype in (numpy.uint8, numpy.int8, numpy.int16, numpy.uint16, numpy.uint32, numpy.int32):#, numpy.uint64, numpy.int64, numpy.float32):
for dtype in (numpy.uint8, numpy.int8, numpy.int16, numpy.uint16, numpy.uint32, numpy.int32, numpy.uint64, numpy.int64, numpy.float32):
import sys; sys.stderr.write(f"test {dtype}\n")
self.assertEqual(abs(preproc(ary.astype(dtype),split_result=4)[..., 0]-ary).max(), 0, "Result OK for dtype {dtype}")

Expand Down

0 comments on commit 870b4c1

Please sign in to comment.