@@ -0,0 +1,1288 @@
+package model;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by vincet on 31/03/16.%0A */%0Apublic class TetrominoTest %7B%0A    private Tetromino objectTest;%0A    @Before%0A    public void setUp() throws Exception %7B%0A        objectTest = new Tetromino(TetrominoType.L,new Position(0,0));%0A    %7D%0A%0A    @Test%0A    public void getPosition() throws Exception %7B%0A        Position pos = objectTest.getPosition();%0A        assertTrue(%22Position incorrecte%22, pos.getX()==0 && pos.getY()==0);%0A    %7D%0A%0A    @Test%0A    public void setPosition() throws Exception %7B%0A        objectTest.setPosition(new Position(12,31));%0A        Position pos = objectTest.getPosition();%0A        assertTrue(%22Position mise correctement%22, pos.getX()==12 && pos.getY()==31);%0A%0A    %7D%0A%0A    @Test%0A    public void getRotation() throws Exception %7B%0A        int rot = objectTest.getRotation();%0A        assertTrue(%22Rotation Valide%22, rot==0 %7C%7C rot==1 %7C%7C rot==2 %7C%7C rot==3);%0A    %7D%0A%0A    @Test%0A    public void setRotation() throws Exception %7B%0A        objectTest.setRotation(1);%0A        int rot = objectTest.getRotation();%0A        assertTrue(%22Rotation mise a jour%22, rot==1);%0A%0A    %7D%0A%0A    @Test%0A    public void rotate() throws Exception %7B%0A        objectTest.rotate(true);%0A%0A        assertTrue(0==1);%0A    %7D%0A%0A%7D

Add tests for the Tetromino class