Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
28a94efd
Commit
28a94efd
authored
Apr 18, 2011
by
Alexander Wiebel
Browse files
[CHANGE] breakup one test into six separate ones
parent
4e7a277d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
7 deletions
+41
-7
src/dataHandler/io/test/WReaderNIfTI_test.h
src/dataHandler/io/test/WReaderNIfTI_test.h
+41
-7
No files found.
src/dataHandler/io/test/WReaderNIfTI_test.h
View file @
28a94efd
...
...
@@ -81,20 +81,54 @@ public:
/**
* Test if the loaded files are really loaded
*/
void
testLoading
(
void
)
void
testLoading
1
(
void
)
{
WReaderNIfTI
reader1
(
"../fixtures/scalar_signed_short.nii.gz"
);
WReaderNIfTI
reader2
(
"../fixtures/scalar_unsigned_char.nii.gz"
);
WReaderNIfTI
reader3
(
"../fixtures/scalar_float.nii.gz"
);
WReaderNIfTI
reader4
(
"../fixtures/vector_float.nii.gz"
);
WReaderNIfTI
reader5
(
"../fixtures/symmetric_2nd_order_tensor_float.nii.gz"
);
WReaderNIfTI
reader6
(
"../fixtures/vector_unsigned_char.nii.gz"
);
TS_ASSERT
(
reader1
.
load
()
);
}
/**
* Test if the loaded files are really loaded
*/
void
testLoading2
(
void
)
{
WReaderNIfTI
reader2
(
"../fixtures/scalar_unsigned_char.nii.gz"
);
TS_ASSERT
(
reader2
.
load
()
);
}
/**
* Test if the loaded files are really loaded
*/
void
testLoading3
(
void
)
{
WReaderNIfTI
reader3
(
"../fixtures/scalar_float.nii.gz"
);
TS_ASSERT
(
reader3
.
load
()
);
}
/**
* Test if the loaded files are really loaded
*/
void
testLoading4
(
void
)
{
WReaderNIfTI
reader4
(
"../fixtures/vector_float.nii.gz"
);
TS_ASSERT
(
reader4
.
load
()
);
}
/**
* Test if the loaded files are really loaded
*/
void
testLoading5
(
void
)
{
WReaderNIfTI
reader5
(
"../fixtures/symmetric_2nd_order_tensor_float.nii.gz"
);
TS_ASSERT
(
reader5
.
load
()
);
}
/**
* Test if the loaded files are really loaded
*/
void
testLoading6
(
void
)
{
WReaderNIfTI
reader6
(
"../fixtures/vector_unsigned_char.nii.gz"
);
TS_ASSERT
(
reader6
.
load
()
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment