Пример #1
0
 /** Test of getCrossingWordStarts method, of class BoardLetters. */
 @Test
 public void testGetCrossingWordStarts() {
   System.out.println("getCrossingWordStarts");
   int expResult = 8;
   instance.setCrossingWordStarts(8);
   int result = instance.getCrossingWordStarts();
   assertEquals(expResult, result);
 }
Пример #2
0
 /** Test of getCrossingWordEnds method, of class BoardLetters. */
 @Test
 public void testGetCrossingWordEnds() {
   System.out.println("getCrossingWordEnds");
   int expResult = 10;
   instance.setCrossingWordEnds(10);
   int result = instance.getCrossingWordEnds();
   assertEquals(expResult, result);
 }
Пример #3
0
 /** Test of getY method, of class BoardLetters. */
 @Test
 public void testGetY() {
   System.out.println("getY");
   int expResult = 7;
   int result = instance.getY();
   assertEquals(expResult, result);
 }