예제 #1
0
 public void testIntArray1() {
   char c = 'a';
   char[] cs = {'a', 'b', 'c'};
   TestCase.assertTrue(CharUtils.inArray(c, cs));
   TestCase.assertFalse(CharUtils.notInArray(c, cs));
 }
예제 #2
0
 public void testIntArray4() {
   char c = 'a';
   char[] cs = null;
   TestCase.assertFalse(CharUtils.inArray(c, cs));
   TestCase.assertTrue(CharUtils.notInArray(c, cs));
 }