APP1NAME = crop
APP2NAME = reduce
APP3NAME = cam2map

# Single pixel different by this amount on samson and decon
CropReduceCam2mapTruth.cub.TOLERANCE = 7.62939453125e-06 

include $(ISISROOT)/make/isismake.tsts

commands:
	$(APP1NAME) $(TSTARGS) from= $(INPUT)/lua0825f.cub \
	  to= $(OUTPUT)/cropTruth.cub+real \
	  sample=15 nsamples=200 \
	  line=50 nlines=200 > /dev/null;
	$(APP2NAME) $(TSTARGS) from= $(OUTPUT)/cropTruth.cub \
	  to= $(OUTPUT)/CropReduceTruth.cub+real \
	  mode=total \
	  ons=150 onl=150 > /dev/null;
	$(APP3NAME) $(TSTARGS) from= $(OUTPUT)/CropReduceTruth.cub \
	  to= $(OUTPUT)/CropReduceCam2mapTruth.cub+real \
	  > /dev/null;
	catlab $(TSTARGS) from=$(OUTPUT)/CropReduceCam2mapTruth.cub \
	  > $(OUTPUT)/labels.pvl;
