Skip to content

Commit

Permalink
SD-103535
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Dec 17, 2024
1 parent 78ea537 commit 6f5265b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -858,9 +858,7 @@ static void test_grib_get_binary_scale_fact()
{
printf("Running %s ...\n", __func__);
int err = 0;
long result = grib_get_binary_scale_fact(INFINITY, 0, 0, &err);
Assert( err == GRIB_OUT_OF_RANGE);
Assert( result == 0 );
long result = 0;

result = grib_get_binary_scale_fact(100, 0, 65, &err); // bpv too big
Assert( err == GRIB_OUT_OF_RANGE);
Expand Down

0 comments on commit 6f5265b

Please sign in to comment.