Commit 07614813 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Added test.

parent 1a49029d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ void IsisMain() {
  createTrackCube(ui, trackBand);
}


/**
 * Finds the index of the tracking band in the BandBin group and stores the index
 * in trackBand. The other bands' indices are stored in copyBands.
@@ -61,6 +62,7 @@ void findTrackBand(UserInterface ui, QString &copyBands, QString &trackBand) {
  }
}


/**
 * Creates the mosaic cube by copying the input cube without the tracking band.
 * Then, removes the tracking table from the mosaic label and adds a group pointing
@@ -109,6 +111,7 @@ void createMosaicCube(UserInterface ui, QString bands) {
  mosaicCube.close();
}


/**
 * Creates the tracking cube by copying the input cube with only the tracking band.
 * Then, goes through each pixel and subtracts the input cube's pixel type's min value
@@ -185,6 +188,7 @@ void createTrackCube(UserInterface ui, QString trackBand) {
  trackCube.close();
}


/**
 * Copies DN's from the input cube to the output cube.
 *
+4 −0
Original line number Diff line number Diff line
BLANKS = "%-6s"    
LENGTH = "%-40s"

include $(ISISROOT)/make/isismake.tststree
+7 −0
Original line number Diff line number Diff line
APPNAME = trackextract

include $(ISISROOT)/make/isismake.tsts

commands:
	$(APPNAME) from=$(INPUT)/automosTruth1.cub \
		to=$(OUTPUT)/mosaic> /dev/null;