Пример #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');
 }