Commit 0dee9772 authored by Stephen Thompson's avatar Stephen Thompson

Issue #3 got demo unit tests working

parent 59085425
Pipeline #2413 failed with stages
in 57 minutes and 30 seconds
{
"initial values" : [85.0, -95.0, -208.0, 5.0],
"bounds" : (( 70.0, -120.0, -230.0, 3.0 ),
( 120.0, -70.0, -180.0, 10.0 ))
"bounds" : [[ 70.0, -120.0, -230.0, 3.0 ],
[ 120.0, -70.0, -180.0, 10.0 ]]
}
......@@ -11,3 +11,21 @@ def test_fit_sphere_least_sqs_demo():
output_name = 'out_temp.vtp'
run_demo(model_name, output_name)
def test_fit_sphere_config_demo():
""" test the run demo entry point """
model_name = 'data/US_Sphere_2.vtp'
config_name = 'data/config_init_with_bounds.json'
run_demo(model_name, configfile=config_name)
def test_fit_sphere_config_rad_demo():
""" test the run demo entry point """
model_name = 'data/US_Sphere_2.vtp'
config_name = 'data/config_fixed_radius.json'
run_demo(model_name, configfile=config_name)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment