package fr.game.dopewars;

import static org.junit.Assert.assertEquals;
import org.junit.Test;

public class PlayerTest {
	
	private static fr.game.dopewars.Player player;

	@Test
	public void testTotal() {
		assertEquals(TraderConstants.STARTING_CASH, player.getCash());
	}
}

@@ -29,23 +29,16 @@
 %0Aimport 
-static 
 org.juni
@@ -43,27 +43,43 @@
 nit.
-Assert.assertEquals
+BeforeClass;%0D%0Aimport org.junit.Test
 ;%0D%0Ai
@@ -76,32 +76,39 @@
 t.Test;%0D%0Aimport 
+static 
 org.junit.Test;%0D
@@ -101,20 +101,24 @@
 g.junit.
-Test
+Assert.*
 ;%0D%0A%0D%0Apub
@@ -164,41 +164,233 @@
 tic 
-fr.game.dopewars.Player player;%0D%0A
+Player player;%0D%0A%0D%0A%09@BeforeClass%0D%0A%09public static void onceExecutedBeforeAll() %7B%0D%0A%09%09player = new Player(%22test%22);%0D%0A%09%7D%0D%0A%09%0D%0A%09@Test%0D%0A%09public void testCash() %7B%0D%0A%09%09assertEquals(TraderConstants.STARTING_CASH, player.getCash());%0D%0A%09%7D%0D%0A%09
 %0D%0A%09@
@@ -416,13 +416,14 @@
 test
-Total
+Health
 () %7B
@@ -456,35 +456,37 @@
 stants.STARTING_
-CAS
+HEALT
 H, player.getCas
@@ -474,33 +474,35 @@
 ALTH, player.get
-Cas
+Healt
 h());%0D%0A%09%7D%0D%0A%7D%0D%0A

CHANGE : Add tests