Skip to content

Commit

Permalink
COMP: WIP: duplicate conditions... not certain about these...
Browse files Browse the repository at this point in the history
  • Loading branch information
seanm committed Jan 8, 2025
1 parent cab6681 commit ad59f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Modules/Core/Common/test/itkSparseFieldLayerTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ itkSparseFieldLayerTest(int, char *[])
i = 3999;
while (it != layer->End())
{
if (it->value != i || it->value != i)
if (it->value != i)
{
return EXIT_FAILURE;
}
it->value = 32567;
if (it->value != 32567 || it->value != 32567)
if (it->value != 32567)
{
return EXIT_FAILURE;
}
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/test/itkVariableLengthVectorTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ itkVariableLengthVectorTest(int, char *[])

DoubleVariableLengthVectorType x(d, 3, false);
ASSERT(x.IsAProxy(), "Unexpected VLV value");
ASSERT((x[0] == 0.1) && (x[0] == 0.1), "Unexpected VLV value");
ASSERT((x[0] == 0.1) && (d[0] == 0.1), "Unexpected VLV value");

// ===[ Keep old values
// ---[ Shrink To Fit
Expand Down

0 comments on commit ad59f8b

Please sign in to comment.