Skip to content

Simple reference tests for acoustic 2D kernels

Giacomo Aloisi requested to merge tests into main

It is now possible to run package tests from the REPL using the test command.

New features:

  • reference tests for a few iterations of acoustic 2D kernels with a simple velocity model
  • integration with GitLab CI to run tests every time changes are pushed to the remote
  • dummy test file to use as "template"

Note: reference tests are implemented to compare the baseline implementation for each different acoustic 2D kernel and are stored into a permanent, Git-tracked folder. In the future one could add reference tests as BSON files containing the last pressure field of more complex models (e.g. computed with another software) and then compare our kernels against those to check for desired accuracy.

Merge request reports

Loading