monkey-island/test/fr/eseo/game/test/model/PirateTest.java
@Test
	public void testMeetCharacter_character_monkey() throws Exception {
		this.pirate.meetCharacter(this.monkey);
		assertEquals(this.pirate.getEnergy(), Pirate.MIN_ENERGY);
		assertEquals(Boolean.FALSE, this.island.getPirates().containsKey(this.pirate.getId()));
	}
/**
	 * Test if a pirate meet a monkey.
	 *
	 * @throws java.lang.Exception
	 *             toute exception.
	 */
Test if a pirate meet a monkey.
Test if a pirate meet a monkey .
@Test
	public void testMeetCharacter_character_monkey() throws Exception {
		this.pirate.meetCharacter(this.monkey);
		assertEquals(this.pirate.getEnergy(), Pirate.MIN_ENERGY);
		assertEquals(Boolean.FALSE, this.island.getPirates().containsKey(this.pirate.getId()));
	}
@ Test public void testMeetCharacter_character_monkey ( ) throws Exception { this . pirate . meetCharacter ( this . monkey ) ; assertEquals ( this . pirate . getEnergy ( ) , Pirate . MIN_ENERGY ) ; assertEquals ( Boolean . FALSE , this . island . getPirates ( ) . containsKey ( this . pirate . getId ( ) ) ) ; }
Test if a pirate meet a monkey.
Test if a pirate meet a monkey .