Difference between revisions of "UCVM Testing"
From SCECpedia
Jump to navigationJump to search (Created page with "== Functional tests == Unit Tests essential core ucvm functions == Integration Tests == Test utilities including meshing, layer searches, gtls, and performance == Model...") |
|||
Line 1: | Line 1: | ||
== Functional tests == | == Functional tests == | ||
Unit Tests essential core ucvm functions | Unit Tests essential core ucvm functions | ||
+ | * Test Cases ucvm_query | ||
+ | * Test case interpolation | ||
+ | * Test Cases Tiling | ||
+ | * Test Cases Invalid Points | ||
+ | * unittest_suite_lib.c:int test_lib_init() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_1d() | ||
+ | * unittest_suite_lib.c:int test_lib_query_1d() | ||
+ | * unittest_suite_lib.c:int test_lib_get_model_label_1d() | ||
+ | * unittest_suite_lib.c:int test_lib_setparam_querymode_gd_1d() | ||
+ | * unittest_suite_lib.c:int test_lib_setparam_querymode_ge_1d() | ||
+ | * unittest_suite_lib.c:int test_lib_model_version_1d() | ||
+ | |||
+ | == Integration Tests == | ||
+ | Test utilities including meshing, layer searches, gtls, and and modificaiton to the velocity models. | ||
+ | * Test Cases Basin Query | ||
+ | * Test Cases ucvm2mesh | ||
+ | * Test Cases ucvm2mesh mpi | ||
+ | * Test Cases Vs30 Map | ||
+ | * Test Cases Mesh and Grid | ||
+ | * Test Cases Adding Elygtl:ifunc | ||
+ | * accepttest_suite_grid.c:int test_grid_tool_1d() | ||
+ | * accepttest_suite_grid.c:int test_grid_lib_1d() | ||
+ | * accept_test.py:def test_vs30_query(dir): | ||
+ | * accept_test.py:def test_ssh_generate(dir): | ||
+ | |||
− | |||
− | |||
− | |||
== Model Tests == | == Model Tests == | ||
Each velocity model has tests showing expected results for some points | Each velocity model has tests showing expected results for some points | ||
− | + | * Test Cases 1D Models | |
+ | * Test Cases CVM S4.26 | ||
+ | * Test Cases CVM-H | ||
+ | * Test Cases External CVMs | ||
+ | * Test Cases Invalid Points | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cencal() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cvmh() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cvms() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cvmsi() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cvms5() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_ivlsu() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cvlsu() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_wfcvm() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_albacore() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cca() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cs173() | ||
+ | * unittest_suite_lib.c:int test_lib_add_model_cs173h() | ||
+ | |||
+ | == Utilities Tests == | ||
+ | * /api/run_query_1d_gtl.sh | ||
+ | * programs/basin/run_basin_query_cvmh.sh | ||
+ | * programs/basin/run_basin_query_mpi_complete_cencal_cvms.sh | ||
+ | * programs/basin/run_basin_query_mpi_complete_cencal_cvms5.sh | ||
+ | * programs/basin/run_basin_query_mpi_complete_cencal_cvmsi.sh | ||
+ | * programs/basin/run_basin_query_mpi_cvms5.sh | ||
+ | * programs/etree/run_ucvm2etree_cvmh.sh | ||
+ | * programs/mesh/run_ucvm2mesh_cvmh.sh | ||
+ | * programs/mesh/run_ucvm2mesh_mpi_cvmh.sh | ||
+ | * programs/mesh/run_ucvm2mesh_mpi_cvmsi.sh | ||
+ | * programs/mesh/run_ucvm2mesh_mpi_layer_cvms.sh | ||
+ | * programs/mesh/run_ucvm2mesh_mpi_layer_cvmsi.sh | ||
+ | * programs/ucvm/run_ucvm_query_albacore.sh | ||
+ | * programs/ucvm/run_ucvm_query_cencal_cvms.sh | ||
+ | * programs/ucvm/run_ucvm_query_cencal_cvms5.sh | ||
+ | * programs/ucvm/run_ucvm_query_cvmh.sh | ||
+ | * programs/ucvm/run_ucvm_query_wfcvm.sh | ||
+ | |||
+ | |||
== Acceptance tests == | == Acceptance tests == |
Revision as of 05:24, 6 September 2021
Contents
Functional tests
Unit Tests essential core ucvm functions
- Test Cases ucvm_query
- Test case interpolation
- Test Cases Tiling
- Test Cases Invalid Points
- unittest_suite_lib.c:int test_lib_init()
- unittest_suite_lib.c:int test_lib_add_model_1d()
- unittest_suite_lib.c:int test_lib_query_1d()
- unittest_suite_lib.c:int test_lib_get_model_label_1d()
- unittest_suite_lib.c:int test_lib_setparam_querymode_gd_1d()
- unittest_suite_lib.c:int test_lib_setparam_querymode_ge_1d()
- unittest_suite_lib.c:int test_lib_model_version_1d()
Integration Tests
Test utilities including meshing, layer searches, gtls, and and modificaiton to the velocity models.
- Test Cases Basin Query
- Test Cases ucvm2mesh
- Test Cases ucvm2mesh mpi
- Test Cases Vs30 Map
- Test Cases Mesh and Grid
- Test Cases Adding Elygtl:ifunc
- accepttest_suite_grid.c:int test_grid_tool_1d()
- accepttest_suite_grid.c:int test_grid_lib_1d()
- accept_test.py:def test_vs30_query(dir):
- accept_test.py:def test_ssh_generate(dir):
Model Tests
Each velocity model has tests showing expected results for some points
- Test Cases 1D Models
- Test Cases CVM S4.26
- Test Cases CVM-H
- Test Cases External CVMs
- Test Cases Invalid Points
- unittest_suite_lib.c:int test_lib_add_model_cencal()
- unittest_suite_lib.c:int test_lib_add_model_cvmh()
- unittest_suite_lib.c:int test_lib_add_model_cvms()
- unittest_suite_lib.c:int test_lib_add_model_cvmsi()
- unittest_suite_lib.c:int test_lib_add_model_cvms5()
- unittest_suite_lib.c:int test_lib_add_model_ivlsu()
- unittest_suite_lib.c:int test_lib_add_model_cvlsu()
- unittest_suite_lib.c:int test_lib_add_model_wfcvm()
- unittest_suite_lib.c:int test_lib_add_model_albacore()
- unittest_suite_lib.c:int test_lib_add_model_cca()
- unittest_suite_lib.c:int test_lib_add_model_cs173()
- unittest_suite_lib.c:int test_lib_add_model_cs173h()
Utilities Tests
- /api/run_query_1d_gtl.sh
- programs/basin/run_basin_query_cvmh.sh
- programs/basin/run_basin_query_mpi_complete_cencal_cvms.sh
- programs/basin/run_basin_query_mpi_complete_cencal_cvms5.sh
- programs/basin/run_basin_query_mpi_complete_cencal_cvmsi.sh
- programs/basin/run_basin_query_mpi_cvms5.sh
- programs/etree/run_ucvm2etree_cvmh.sh
- programs/mesh/run_ucvm2mesh_cvmh.sh
- programs/mesh/run_ucvm2mesh_mpi_cvmh.sh
- programs/mesh/run_ucvm2mesh_mpi_cvmsi.sh
- programs/mesh/run_ucvm2mesh_mpi_layer_cvms.sh
- programs/mesh/run_ucvm2mesh_mpi_layer_cvmsi.sh
- programs/ucvm/run_ucvm_query_albacore.sh
- programs/ucvm/run_ucvm_query_cencal_cvms.sh
- programs/ucvm/run_ucvm_query_cencal_cvms5.sh
- programs/ucvm/run_ucvm_query_cvmh.sh
- programs/ucvm/run_ucvm_query_wfcvm.sh
Acceptance tests
Confirm results on users system. Maybe union of funcational, integration, and model tests.