From 444bd005b9f87f416ee25ebcbe85c6b3e53e1877 Mon Sep 17 00:00:00 2001 From: Shengting Cui Date: Fri, 23 Dec 2022 19:18:52 +0000 Subject: [PATCH] Fixing a minor bug - issue #449. --- test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp b/test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp index 85472ce325..06fb714b1d 100644 --- a/test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp +++ b/test/realizations/catchments/Bmi_Multi_Formulation_Test.cpp @@ -815,7 +815,9 @@ TEST_F(Bmi_Multi_Formulation_Test, GetIdAndCatchmentId) { formulation.create_formulation(config_prop_ptree[ex_index]); ASSERT_EQ(formulation.get_id(), "cat-27"); ASSERT_EQ(get_friend_catchment_id(formulation), "cat-27"); + #ifdef NGEN_BMI_FORTRAN_ACTIVE ASSERT_EQ(get_friend_nested_catchment_id(formulation, 0), "cat-27"); + #endif //ASSERT_EQ(formulation.get_catchment_id(), "id"); } #endif // NGEN_BMI_C_LIB_ACTIVE || NGEN_BMI_FORTRAN_ACTIVE || ACTIVATE_PYTHON