Пример #1
0
 @Test
 public void testStringsNoValidos() {
   assertNull(manager.parse("abcd"));
   assertNull(manager.parse("ab"));
   assertNull(manager.parse(""));
   assertNull(manager.parse("78c"));
   assertNull(manager.parse("l8"));
   assertNull(manager.parse("z19"));
 }
Пример #2
0
 @Test
 public void testParsePeonNoValido() {
   assertNull(manager.parse("i1"));
   assertNull(manager.parse("a9"));
 }
Пример #3
0
 @Test
 public void testParseReyNoValido() {
   assertNull(manager.parse("Ra9"));
   assertNull(manager.parse("Ri1"));
 }
Пример #4
0
 @Test
 public void testParsePeonValido() {
   assertNotNull(manager.parse("b1"));
 }
Пример #5
0
 @Test
 public void testParseReyValido() {
   assertNotNull(manager.parse("Ra1"));
 }