RgbProfiles { public static void installS2MsiRgbProfiles() { installRgbProfiles("C2RCC_S2-MSI", "log(0.05 + 0.35 * %1$s_B2 + 0.60 * %1$s_B5 + %1$s_6 + 0.13 * %1$s_B7)", "log(0.05 + 0.21 * %1$s_B3 + 0.50 * %1$s_B4 + %1$s_B5 + 0.38 * %1$s_B6)", "log(0.05 + 0.21 * %1$s_B1 + 1.75 * %1$s_B2 + 0.47 * %1$s_B3 + 0.16 * %1$s_B4)"); }  static void installRgbProfiles(String productType, String redExpr, String greenExpr, String blueExpr); static void installMerisRgbProfiles(); static void installMeris4RgbProfiles(); static void installS2MsiRgbProfiles(); static void installLandsat7RgbProfiles(); static void installLandsat8RgbProfiles(); static void installModisRgbProfiles(); static void installSeaWifsRgbProfiles(); static void installViirsRgbProfiles();  }
@Test public void installS2MsiRgbProfiles() throws Exception { assertEquals(0, profileManager.getProfileCount()); RgbProfiles.installS2MsiRgbProfiles(); assertEquals(9, profileManager.getProfileCount()); }