From dcf69879d86bfe39a76e564ec7ad77666ac1dd3f Mon Sep 17 00:00:00 2001 From: Thomas Witzel Date: Mon, 19 Jun 2023 15:00:47 -0700 Subject: [PATCH] added a couple of test files generated by nibabel for validating the complex writes --- resources/complex/complex32.nii | Bin 0 -> 424 bytes resources/complex/complex64.nii | Bin 0 -> 496 bytes tests/writer.rs | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 resources/complex/complex32.nii create mode 100644 resources/complex/complex64.nii diff --git a/resources/complex/complex32.nii b/resources/complex/complex32.nii new file mode 100644 index 0000000000000000000000000000000000000000..0f004a59f8207378e61891fe470e614fbea4fff1 GIT binary patch literal 424 zcma!HWFQJKF)#xmBOIb?QebcZ3pCg>FyO-*oFVe4x(A8}@(peP@&`H~R*ZomPumcx T85SN64h#$+3Vs8KoG}tpR;KLi7A@XRt2Z#&u4Q>GP2Ra~DjDaCf+Ym|f b2dG&vn!^Di38RseLYPo_1{jT@fLs9pb;}PE literal 0 HcmV?d00001 diff --git a/tests/writer.rs b/tests/writer.rs index 672c730..d6ccd8e 100644 --- a/tests/writer.rs +++ b/tests/writer.rs @@ -548,7 +548,7 @@ mod tests { assert_eq!( fs::read(path).unwrap(), - fs::read("resources/complex/complex32.nii").unwrap() + fs::read("resources/complex/complex64.nii").unwrap() ); }