BrrOp extends BrrBasisOp { static boolean isValidRhoSpectralIndex(int i) { return i >= Constants.bb1 && i < Constants.bb15 && i != Constants.bb11; }  @Override void initialize(); @Override void doExecute(ProgressMonitor pm); @SuppressWarnings("MismatchedReadAndWriteOfArray") @Override void computeTileStack(Map<Band, Tile> targetTiles, Rectangle rectangle, ProgressMonitor pm); @Parameter(description = "Write L1 flags to the target product.",
               label = "Write L1 flags to the target product.",
               defaultValue = "true")
    public boolean copyL1Flags; @Parameter(description = "Write TOA reflectances to the target product.",
               label = "Write TOA reflectances to the target product.",
               defaultValue = "false")
    public boolean outputToar; }
@Test public void testRhoSpectralIndex() { assertTrue(BrrOp.isValidRhoSpectralIndex(0)); assertFalse(BrrOp.isValidRhoSpectralIndex(10)); assertTrue(BrrOp.isValidRhoSpectralIndex(11)); assertFalse(BrrOp.isValidRhoSpectralIndex(14)); assertFalse(BrrOp.isValidRhoSpectralIndex(-1)); assertFalse(BrrOp.isValidRhoSpectralIndex(15)); }