OpenGeoVis / omfvista

3D visualization for the Open Mining Format (omf)

Home Page:https://opengeovis.github.io/omfvista/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Comprehensive Testing Suite

banesullivan opened this issue · comments

omfvtk needs a more comprehensive testing suite. Currently, only a few OMF projects are created and the tests pass as long as no errors arise from wrapping the elements in the projects.

The testing suite should fully evaluate the returned vtki data objects to make sure they are what is expected.

  • Test individual wrapping of each data type for at least two different examples
  • Evaluate pyvista object against the omf object to ensure properties match such as:
    • Number of cells
    • Number of vertices
    • Number of scalars
    • Spatial extents match
    • Perhps test that the vertices of the meshes are the same. Note: pyvista/VTK might shuffle the coordinates.
  • Test textures for surfaces