Skip to content
Snippets Groups Projects
Commit e6067fe3 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Add tests

Add tests `Cost_function_avg_date`, `Greece_date` and
`Eurec4A_cost_date`.
parent 8ef1463e
No related branches found
No related tags found
No related merge requests found
...@@ -218,5 +218,40 @@ ...@@ -218,5 +218,40 @@
"$src_dir/Trajectories/trajectories.py", "$src_dir/Trajectories/trajectories.py",
"$src_dir/Trajectories/Tests/component_69684840.graphml" "$src_dir/Trajectories/Tests/component_69684840.graphml"
] ]
},
"Cost_function_avg_date":
{
"command": [
"$src_dir/Trajectories/cost_function.py",
"$tests_old_dir/Extraction_eddies_region_2_noise/SHPC",
"Anticyclones",
"$tests_old_dir/Segments/segments.graphml",
"segments_cost_functions.graphml", "--debug"
],
"sel_diff_args": {"exclude": ["timings.txt"]},
"description": "Same as test Cost_functions except without option --avg_fix."
},
"Greece_date": {
"description": "Same as test Greece_cost_function except without option --avg_fix.",
"command": [
"$src_dir/Trajectories/cost_function.py",
"$tests_old_dir/Greece/SHPC",
"Anticyclones",
"$tests_old_dir/Greece_segments/segments.graphml",
"segments_cost_functions.graphml", "--debug"
],
"sel_diff_args": {"exclude": ["timings.txt"]}
},
"Eurec4A_cost_date":
{
"description":
"Same as test Eurec4A_cost except without option --avg_fix.",
"command":
[
"$src_dir/Trajectories/cost_function.py",
"$my_data_dir/Eurec4A/SHPC", "Anticyclones",
"$tests_old_dir/Eurec4A_segments/segments.graphml",
"segments_cost.graphml"
]
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment