From caa2bc584ab9ed9410557c96dacfde3528e4eff9 Mon Sep 17 00:00:00 2001
From: dh00601 <dh00601@surrey.ac.uk>
Date: Wed, 29 Dec 2021 21:53:48 +0000
Subject: [PATCH] working on tests

---
 binarycpython/tests/test_grid.py              | 36 +++++++++++++++++++
 .../tests_population_extensions/test__HPC.py  | 31 ++++++++++++++++
 .../test__Moe_di_Stefano_2017.py              | 13 +++++++
 3 files changed, 80 insertions(+)
 create mode 100644 binarycpython/tests/tests_population_extensions/test__HPC.py
 create mode 100644 binarycpython/tests/tests_population_extensions/test__Moe_di_Stefano_2017.py

diff --git a/binarycpython/tests/test_grid.py b/binarycpython/tests/test_grid.py
index e69de29bb..22cc3e7d6 100644
--- a/binarycpython/tests/test_grid.py
+++ b/binarycpython/tests/test_grid.py
@@ -0,0 +1,36 @@
+"""
+Unit tests for the grid module
+
+TODO: jobID
+TODO: exit
+TODO: set
+TODO: parse_cmdline
+TODO: _return_argline
+TODO: return_population_settings
+TODO: return_binary_c_defaults
+TODO: return_all_info
+TODO: export_all_info
+TODO: _set_nprocesses
+TODO: _pre_run_setup
+TODO: clean
+TODO: evolve
+TODO: _evolve_population
+TODO: _system_queue_filler
+TODO: _evolve_population_grid
+TODO: _evolve_system_mp
+TODO: _parent_signal_handler
+TODO: _child_signal_handler
+TODO: _process_run_population_grid
+TODO: evolve_single
+TODO: _setup
+TODO: _cleanup
+TODO: _dry_run
+TODO: _dry_run_source_file
+TODO: _load_source_file
+TODO: _dict_from_line_source_file
+TODO: _cleanup_defaults
+TODO: _increment_probtot
+TODO: _increment_count
+TODO: was_killed
+TODO: _check_binary_c_error
+"""
diff --git a/binarycpython/tests/tests_population_extensions/test__HPC.py b/binarycpython/tests/tests_population_extensions/test__HPC.py
new file mode 100644
index 000000000..24180dc88
--- /dev/null
+++ b/binarycpython/tests/tests_population_extensions/test__HPC.py
@@ -0,0 +1,31 @@
+"""
+Unit tests for the HPC module
+
+TODO: HPC_njobs
+TODO: HPC_make_joiningfile
+TODO: HPC_joinlist
+TODO: HPC_load_joinfiles_list
+TODO: HPC_join_from_files
+TODO: HPC_can_join
+TODO: HPC_job
+TODO: HPC_job_task
+TODO: HPC_job_type
+TODO: HPC_jobID
+TODO: HPC_jobID_tuple
+TODO: HPC_set_status
+TODO: HPC_get_status
+TODO: HPC_dirs
+TODO: HPC_grid
+TODO: HPC_check_requirements
+TODO: HPC_id_filename
+TODO: HPC_id_from_dir
+TODO: HPC_restore
+TODO: HPC_join_previous
+TODO: HPC_path
+TODO: HPC_snapshot_filename
+TODO: HPC_dir
+TODO: HPC_touch
+TODO: HPC_status
+TODO: HPC_dump_status
+TODO: HPC_queue_stats
+"""
\ No newline at end of file
diff --git a/binarycpython/tests/tests_population_extensions/test__Moe_di_Stefano_2017.py b/binarycpython/tests/tests_population_extensions/test__Moe_di_Stefano_2017.py
new file mode 100644
index 000000000..f3308f8f0
--- /dev/null
+++ b/binarycpython/tests/tests_population_extensions/test__Moe_di_Stefano_2017.py
@@ -0,0 +1,13 @@
+"""
+Unit tests for the _Moe_di_Stefano_2017 module
+
+TODO: set_moe_di_stefano_settings
+TODO: _load_moe_di_stefano_data
+TODO: _set_moe_di_stefano_distributions
+TODO: Moe_di_Stefano_2017
+TODO: _clean_interpolators
+TODO: _calculate_multiplicity_fraction
+TODO: get_moe_di_stefano_dataset
+TODO: get_Moe_di_Stefano_2017_default_options
+TODO: get_Moe_di_Stefano_2017_default_options_description
+"""
\ No newline at end of file
-- 
GitLab