Skip to content

Commit

Permalink
add test for proper nodata tile conversion in linear_scale_range
Browse files Browse the repository at this point in the history
  • Loading branch information
jdries committed Oct 10, 2024
1 parent 427acd3 commit d7e317d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ public void testLinearScaleRange() {
Tile tile1 = FloatConstantNoDataArrayTile.fill(3, 4, 4);
Tile tile2 = FloatConstantNoDataArrayTile.fill(-1, 4, 4);
Tile tile3 = FloatConstantNoDataArrayTile.fill(1.9f, 4, 4);
Tile nodataTile = ByteConstantNoDataArrayTile.empty(4, 4);
Tile nodataTile = new ByteConstantTile((byte)123, 4, 4, ByteUserDefinedNoDataCellType.apply((byte)123));

Seq<Tile> result = transformation.apply(JavaConversions.asScalaBuffer(Arrays.asList(nodataTile,tile0,tile1,tile2,tile3)));

Expand Down

0 comments on commit d7e317d

Please sign in to comment.