DataTypeFunctions { static public boolean isValid(String[] values) { try { if (values[3] == "") return false; if (values[2].equalsIgnoreCase("BYTE_Max") || values[2].equalsIgnoreCase("BYTE_Min") || values[2].equalsIgnoreCase("BYTE_Max_Plus") || values[2].equalsIgnoreCase("BYTE_Min_Minus") || values[2].equalsIgnoreCase("SHORT_Max") || values[2].equalsIgnoreCase("SHORT_Min") || values[2].equalsIgnoreCase("SHORT_Max_Plus") || values[2].equalsIgnoreCase("SHORT_Min_Minus") || values[2].equalsIgnoreCase("INT_Max") || values[2].equalsIgnoreCase("INT_Min") || values[2].equalsIgnoreCase("INT_Max_Plus") || values[2].equalsIgnoreCase("INT_Min_Minus") || values[2].equalsIgnoreCase("LONG_Max") || values[2].equalsIgnoreCase("LONG_Min") || values[2].equalsIgnoreCase("LONG_Max_Plus") || values[2].equalsIgnoreCase("LONG_Min_Minus")) return true; return false; } catch (Exception ex) { return false; } }  static boolean isValid(String[] values); static String executeFunction(String[] values);  }
@Test public void testIsValid_1() throws Exception { String[] values = new String[] {}; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_2() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_3() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_4() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_5() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_6() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_7() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_8() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_9() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_10() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_11() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_12() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_13() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_14() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_15() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }
@Test public void testIsValid_16() throws Exception { String[] values = new String[] { null, null, "" }; boolean result = DataTypeFunctions.isValid(values); assertEquals(false, result); }