mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
check assert for cell set.
This commit is contained in:
parent
4dd186eda6
commit
3a4966fef3
@ -77,6 +77,7 @@ void TestWorkletMapTopologyRegular()
|
||||
vtkm::cont::DataSet *ds = tds.Make2DRegularDataSet0();
|
||||
vtkm::cont::CellSetStructured<2> *cs;
|
||||
cs = dynamic_cast<vtkm::cont::CellSetStructured<2> *>(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.
|
||||
|
Loading…
Reference in New Issue
Block a user