Skip to content

Commit

Permalink
Merge pull request #59 from smr99/develop
Browse files Browse the repository at this point in the history
minc2-label-test bugfixes
  • Loading branch information
vfonov committed Oct 6, 2015
2 parents ebaf0a3 + c2257e8 commit 57f5fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdir/minc2-label-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static int create_label_image ( void )
MI_CLASS_LABEL, NULL, &hvol );
if ( result < 0 ) {
fprintf ( stderr, "Unable to create test file %x\n", result );
return ( -1 );
return ( 1 );
}

result = miget_number_of_defined_labels ( hvol, &value );
Expand Down Expand Up @@ -172,7 +172,7 @@ main ( void )
TESTRPT("miget_label_value, White", white_value);
}
if (blue_value != 0x00ff00) {
TESTRPT("miget_label_value, Blue", white_value);
TESTRPT("miget_label_value, Blue", blue_value);
}
coords[0] = coords[1] = coords[2] = 0;
count[0] = CX; count[1] = CY; count[2] = CZ;
Expand Down

0 comments on commit 57f5fa1

Please sign in to comment.