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