Skip to content

ENH: Unit test for MergeFilter

Bill Lorensen requested to merge lorensen/vtk:UnitTestMergeFilter into master

MergeFilter test coverage was less than 50%.

This patch provides a unit test that covers 100% of the code.

NOTE: While creating the unit test, a bug was found in vtkMergeFilter. Also the patch adds a number of warnings to alert users when the merge data is not compatible with the input geometry.

BUG: MergeFilter was not copying added arrays properly. The test for adding an array was incorrect for cell data.

Merge request reports