From 3a4966fef3d0e737442403ac8434bbd9a0cb386a Mon Sep 17 00:00:00 2001 From: Dave Pugmire Date: Mon, 18 May 2015 17:12:34 -0400 Subject: [PATCH] check assert for cell set. --- vtkm/worklet/testing/UnitTestWorkletMapTopologyRegular.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vtkm/worklet/testing/UnitTestWorkletMapTopologyRegular.cxx b/vtkm/worklet/testing/UnitTestWorkletMapTopologyRegular.cxx index 38d03d846..4e33a75cc 100644 --- a/vtkm/worklet/testing/UnitTestWorkletMapTopologyRegular.cxx +++ b/vtkm/worklet/testing/UnitTestWorkletMapTopologyRegular.cxx @@ -77,6 +77,7 @@ void TestWorkletMapTopologyRegular() vtkm::cont::DataSet *ds = tds.Make2DRegularDataSet0(); vtkm::cont::CellSetStructured<2> *cs; cs = dynamic_cast *>(ds->GetCellSet(0)); + VTKM_TEST_ASSERT(cs!=NULL, "Structured cell set not found"): //Run a worklet to populate a cell centered field. //Here, we're filling it with test values.