Example #1
0
 @Test
 public void testSetTransparency() {
   gridScanMap.setTransparency(10);
   int t = gridScanMap.getTransparency();
   assertEquals(10, t);
   gridScanMap.setTransparency(-1);
   t = gridScanMap.getTransparency();
   assertEquals(-1, t);
 }
Example #2
0
 @Test
 public void testGetTransparency() {
   int t = gridScanMap.getTransparency();
   assertEquals(-1, t);
 }