diff --git a/tests/resources/image10x11x12x13.mha b/tests/resources/image10x11x12x13.mha index 36531b3..0d089b6 100644 Binary files a/tests/resources/image10x11x12x13.mha and b/tests/resources/image10x11x12x13.mha differ diff --git a/tests/resources/image10x11x12x13.mhd b/tests/resources/image10x11x12x13.mhd index 5175196..ffa7f4d 100644 --- a/tests/resources/image10x11x12x13.mhd +++ b/tests/resources/image10x11x12x13.mhd @@ -7,7 +7,7 @@ CompressedDataSize = 40 TransformMatrix = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 Offset = -131 -99 -917 0 CenterOfRotation = 0 0 0 0 -ElementSpacing = 0.429 0.429 0.5 1 +ElementSpacing = 0.42899999999999999 0.42899999999999999 0.5 1 DimSize = 10 11 12 13 AnatomicalOrientation = ???? ElementType = MET_UCHAR diff --git a/tests/test_mhd.py b/tests/test_mhd.py index 72b4518..6987251 100644 --- a/tests/test_mhd.py +++ b/tests/test_mhd.py @@ -31,7 +31,7 @@ def test_parse_header_valid_4d_mhd(): "Offset": "-131 -99 -917 0", "CenterOfRotation": "0 0 0 0", "AnatomicalOrientation": "????", - "ElementSpacing": "0.429 0.429 0.5 1", + "ElementSpacing": "0.42899999999999999 0.42899999999999999 0.5 1", "DimSize": "10 11 12 13", "ElementType": "MET_UCHAR", "ElementDataFile": "image10x11x12x13.zraw",