### Question:
SensorNames { public static boolean isOrbitName(String sensorName) { return sensorName.matches("(orb_atsr\\.[1-3])|(orb_avhrr(_f)?\\.[mn]([0-9]){2})|(orb_amsr(2|e))"); } private  SensorNames(); static String getOrbitName(String sensorName); static String getStandardName(String sensorName); static String getBasename(String sensorName); static String getDimensionNameX(String sensorName); static String getDimensionNameY(String sensorName); static boolean isOrbitName(String sensorName); static boolean isStandardName(String sensorName);  }### Answer:
@Test public void testIsOrbitName() throws Exception { assertTrue(SensorNames.isOrbitName("orb_atsr.1")); assertTrue(SensorNames.isOrbitName("orb_atsr.2")); assertTrue(SensorNames.isOrbitName("orb_atsr.3")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n10")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n11")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n12")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n13")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n14")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n15")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n16")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n17")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n18")); assertTrue(SensorNames.isOrbitName("orb_avhrr.n19")); assertTrue(SensorNames.isOrbitName("orb_avhrr.m01")); assertTrue(SensorNames.isOrbitName("orb_avhrr.m02")); assertTrue(SensorNames.isOrbitName("orb_avhrr_f.m01")); assertTrue(SensorNames.isOrbitName("orb_avhrr_f.m02")); assertFalse(SensorNames.isOrbitName("orb_avhrr.m01f")); assertFalse(SensorNames.isOrbitName("orb_avhrr.m02f")); assertTrue(SensorNames.isOrbitName("orb_amsr2")); assertTrue(SensorNames.isOrbitName("orb_amsre")); assertFalse(SensorNames.isOrbitName("orb_aai")); assertFalse(SensorNames.isOrbitName("orb_seaice")); }