We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 323a396 commit 0deb747Copy full SHA for 0deb747
tests/geophires_monte_carlo_tests/test_geophires_monte_carlo.py
@@ -125,6 +125,12 @@ def test_hip_ra_monte_carlo(self):
125
result_content = '\n'.join(f.readlines())
126
self.assertIn('Electricity', result_content)
127
128
+ with open(result.json_output_file_path) as f:
129
+ json_result = json.loads(f.read())
130
+ self.assertIn('Producible Electricity', json_result)
131
+ self.assertLess(json_result['Producible Electricity']['median'], 1000)
132
+ self.assertGreater(json_result['Producible Electricity']['median'], 50)
133
+
134
def _get_arg_file_path(self, arg_file):
135
test_dir: Path = Path(os.path.abspath(__file__)).parent
136
return Path(test_dir, arg_file).absolute()
0 commit comments