fixing expected values after correcting 2D point-to-cell indexing.

This commit is contained in:
Jeremy Meredith 2015-08-28 13:34:53 -04:00
parent fc12fbf590
commit f3e3ecb68e

@ -136,10 +136,10 @@ TwoDimRegularTest()
vtkm::Id expectedCellIds[6][4] = {{0,-1,-1,-1},
{0,1,-1,-1},
{1,-1,-1,-1},
{0,-1,-1,-1},
{0,1,-1,-1},
{2,-1,-1,-1},
{2,3,-1,-1}};
{1,-1,-1,-1}};
for (vtkm::Id pointIndex = 0; pointIndex < 6; pointIndex++)
{
@ -150,11 +150,13 @@ TwoDimRegularTest()
for (vtkm::IdComponent cellIndex = 0;
cellIndex < retrievedCellIds.GetNumberOfComponents();
cellIndex++)
{
VTKM_TEST_ASSERT(
retrievedCellIds[cellIndex] == expectedCellIds[pointIndex][cellIndex],
"Incorrect cell ID for point");
}
}
}
static void
ThreeDimRegularTest()