/** Tests the breed method in the organism class */
 @Test
 public void testBreed() {
   assertEquals(0, rabbit.getTimeSinceLastBreed());
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   rabbit.incrementTimeSinceLastBreed();
   assertEquals(7, rabbit.getTimeSinceLastBreed());
   Cell middle = new Cell(2, 2);
   Cell west = new Cell(1, 2);
   system.add(rabbit, middle);
   assertEquals(true, rabbit.breed(middle, system));
 }
 /** Tests to see if the time is incremented */
 @Test
 public void testIncrementTimeSinceLastBreed() {
   assertEquals(0, rabbit.getTimeSinceLastBreed());
   rabbit.incrementTimeSinceLastBreed();
   assertEquals(1, rabbit.getTimeSinceLastBreed());
 }