예제 #1
0
 @Test
 public void test24toX() {
   assertEquals(Scan.getCharForNumber(24), 'X');
 }
예제 #2
0
 @Test
 public void testInvalidHighNum() {
   exception.expect(IllegalArgumentException.class);
   Scan.getCharForNumber(25);
 }
예제 #3
0
 @Test
 public void test1ToA() {
   assertEquals(Scan.getCharForNumber(1), 'A');
 }