Fix for CellEdgeFace test. Case is identical to polygon.

This commit is contained in:
Dave Pugmire 2019-05-22 13:08:12 -04:00
parent d7e793861b
commit b9d109ab3d

@ -215,7 +215,13 @@ struct TestCellFacesFunctor
this->TryShapeWithNumPoints(vtkm::CellTraits<CellShapeTag>::NUM_POINTS, CellShapeTag());
}
void operator()(vtkm::CellShapeTagPolyLine) const { throw "POLYLINE not supported yet"; }
void operator()(vtkm::CellShapeTagPolyLine) const
{
for (vtkm::IdComponent numPoints = 3; numPoints < 7; numPoints++)
{
this->TryShapeWithNumPoints(numPoints, vtkm::CellShapeTagPolygon());
}
}
void operator()(vtkm::CellShapeTagPolygon) const
{