From 8562814aa9a9091c044cb07baae44249dca81fc4 Mon Sep 17 00:00:00 2001 From: staleylanl Date: Tue, 28 May 2024 11:05:43 -0600 Subject: [PATCH] Testing ci. --- .../physics/run_tests_physmod_vec_compare.py | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/impala/physics/run_tests_physmod_vec_compare.py b/impala/physics/run_tests_physmod_vec_compare.py index 65a5b42..0f74848 100644 --- a/impala/physics/run_tests_physmod_vec_compare.py +++ b/impala/physics/run_tests_physmod_vec_compare.py @@ -7,32 +7,31 @@ import test_physmod_vec_PTW as pmv_ptw """ -This script runs all tests comparing physical models to its vectorized version -in the "py_calibration_hier" directory. -Invoke with > python run_tests_physmod_vec_compare.py +This script runs all tests. +Invoke with: +python run_tests_physmod_vec_compare.py All test methods are found in the py_tests directory. -Add or subtract tests by using suite.addTest(... - add as many lines as needed. +Add or subtract tests by using suite.addTest(...). +Add as many lines as needed. """ suite = unittest.TestSuite() #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Add as many tests as desired. Point to test module and test case +# Add as many tests as desired. Point to test module and test case. suite.addTest(unittest.makeSuite(pmv_cy.TestConstantYieldStress)) suite.addTest(unittest.makeSuite(pmv_yjc.TestJCYieldStress)) suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_Constg0Tm)) suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_SimpShearConstTm)) suite.addTest(unittest.makeSuite(pmv_ptw.TestPTWYieldStress_SteinShearConstTm)) - -# End adding tests +# End adding tests. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# Store the result of all tests run -# Verbosity is the amount of output printed to the std.out -# verbosity = 2: print full test name and result summary -# verbosity = 1: print dots for completed tests and result summary -# verbosity = 0: print no test name or dots, just summary +# Store the result of all tests run. +# Verbosity is the amount of output printed to the std.out. +# verbosity = 2: print full test name and result summary. +# verbosity = 1: print dots for completed tests and result summary. +# verbosity = 0: print no test name or dots, just summary. result = unittest.TextTestRunner(verbosity=2).run(suite) # Produce exit codes for console interaction,