Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Aug 22, 2024
1 parent 7206510 commit 79113db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/tst_pdstemplates.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ main()
{
#define NUM_EXT_TEST 25
int template[G2C_MAX_PDS_TEMPLATE_MAPLEN];
int expected_extlen[NUM_EXT_TEST] = {2, 2, 6, 6, 6, 6, 6, 8, 8, 10, 10, 6, 6, 10, 6, 6, 12, 8, 2, 8, 2, 2, 30, 6, 5};
int expected_extlen[NUM_EXT_TEST] = {2, 2, 6, 6, 6, 6, 6, 8, 8, 10, 10, 6, 6, 10, 6, 6, 12, 8, 2, 8, 2, 2, 30, 6, 10};
int expected_ext[NUM_EXT_TEST][48] = {
{1, 1}, /* 3 */
{1, 1}, /* 4 */
Expand All @@ -493,7 +493,7 @@ main()
{1, 1}, /* 54 */
{1, -4, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4, 1, -4, 1, 1, 1, 2, 1, 1, -4, 1, -1, -4, 1, -1, -4}, /* 57 */
{1, 1, 1, 4, 1, 4}, /* 61 */
{2, 2, 2, 1, 4}, /* 35 */
{2, 2, 2, 1, 4, 2, 2, 2, 1, 4}, /* 35 */
};

if (needext)
Expand Down Expand Up @@ -582,6 +582,9 @@ main()
case 61:
template[30] = 2;
break;
case 35:
template[5] = 2;
break;
default:
return G2C_ERROR;
}
Expand Down

0 comments on commit 79113db

Please sign in to comment.