From c728bebd2b121754e8bf225eaf2456c5391b7d7e Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Sun, 17 Dec 2023 16:38:07 +0000 Subject: [PATCH] Testing: Unit tests --- tests/unit_tests.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit_tests.cc b/tests/unit_tests.cc index 5f19b746a..0fb193e41 100644 --- a/tests/unit_tests.cc +++ b/tests/unit_tests.cc @@ -394,8 +394,10 @@ static void test_gts_header_mode() grib_gts_header_on(c); codes_gts_header_on(c); + Assert(c->gts_header_on == 1); grib_gts_header_off(c); codes_gts_header_off(c); + Assert(c->gts_header_on == 0); } static void test_bufr_multi_element_constant_arrays()