Skip to content

Commit b4b77b8

Browse files
OCC test assertions
1 parent 91c8340 commit b4b77b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/geophires_x_tests/test_economics_sam.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ def _sum(cf_row_name: str, abs_val: bool = False) -> float:
274274
installed_cost_from_construction_cash_flow,
275275
)
276276

277+
self.assertLess(
278+
construction_years_4.result['CAPITAL COSTS (M$)']['Overnight Capital Cost']['value'],
279+
installed_cost_from_construction_cash_flow,
280+
)
281+
282+
self.assertLess(
283+
construction_years_4.result['CAPITAL COSTS (M$)']['Overnight Capital Cost']['value'],
284+
construction_years_4.result['CAPITAL COSTS (M$)']['Total CAPEX']['value'],
285+
)
286+
277287
self.assertEqual(
278288
_sum('Issuance of equity [construction] ($)'),
279289
_floats(self._get_cash_flow_row(cy4_cf, 'Issuance of equity ($)'))[0],

0 commit comments

Comments
 (0)