Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
DLR-AMR
GitHub Repository: DLR-AMR/t8code
Path: blob/main/test/mesh_handle/README.md
901 views

mesh_handle testing concept

In this folder, we test the mesh handle functionality.

The testing strategy is written down here to ensure consistency. Therefore, the tests are structured as follows:

  • t8_gtest_mesh_handle.cxx tests some basic functionality, e.g., if the mesh handle generally works with default competences. The handle's functionality is not tested in detail, but instead using some exemplary functions.

  • t8_gtest_custom_competence.cxx checks that user defined competences can be used for the mesh handle.

  • t8_gtest_compare_handle_to_forest.cxx tests that the functionality of the handle gives the same results as if worked with the forest directly. This test checks all functions.

  • t8_gtest_cache_competence.cxx tests that all predefined caching competences work as intended.

  • t8_gtest_ghost.cxx checks ghosts and the neighbor algorithm. Furthermore tests if all functions work also for ghost cells if applicable.

  • t8_gtest_handle_data.cxx tests that user and element data functionality works as intended.