Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
196be864
Commit
196be864
authored
Jun 30, 2019
by
Atkins, Charles Vernon
Browse files
Remove reliance on assert() side effect
parent
58b8e989
Changes
1
Hide whitespace changes
Inline
Side-by-side
testing/adios2/engine/staging-common/TestCommonReadShared.cpp
View file @
196be864
...
...
@@ -74,11 +74,11 @@ TEST_F(CommonReadTest, ADIOS2CommonRead1D8)
{
varname2
=
"r64"
;
}
while
(
engine1
.
BeginStep
()
==
adios2
::
StepStatus
::
OK
)
while
(
engine1
.
BeginStep
()
==
adios2
::
StepStatus
::
OK
&&
engine2
.
BeginStep
()
==
adios2
::
StepStatus
::
OK
)
{
size_t
writerSize
;
assert
(
engine2
.
BeginStep
()
==
adios2
::
StepStatus
::
OK
);
auto
var1
=
io1
.
InquireVariable
<
double
>
(
varname1
);
auto
var2
=
io2
.
InquireVariable
<
double
>
(
varname2
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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