@@ -0,0 +1,1156 @@
+package ru.matevosyan.Figures;%0A%0Aimport org.junit.Test;%0Aimport ru.matevosyan.models.Cell;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0A%0A/**%0A * Created BishopTest ato testing Bishop class.%0A * Created on 29.01.2017.%0A * @since 1.0%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class BishopTest %7B%0A    @Test%0A    public void WhenWayIsWrightThanGetThisWay() throws Exception %7B%0A        Cell sourcePosition = new Cell();%0A        sourcePosition.setX(0);%0A        sourcePosition.setY(2);%0A%0A        Cell distPosition = new Cell();%0A        distPosition.setX(1);%0A        distPosition.setY(3);%0A%0A        Bishop bishop = new Bishop(sourcePosition);%0A        Cell%5B%5D inputWay = bishop.way(distPosition);%0A%0A        Cell%5B%5D expectedWay = %7BsourcePosition, distPosition, null, null, null, null, null%7D;%0A%0A        assertThat(expectedWay%5B0%5D.getX(), is(inputWay%5B0%5D.getX()));%0A        assertThat(expectedWay%5B0%5D.getY(), is(inputWay%5B0%5D.getY()));%0A        assertThat(expectedWay%5B1%5D.getX(), is(inputWay%5B1%5D.getX()));%0A        assertThat(expectedWay%5B1%5D.getY(), is(inputWay%5B1%5D.getY()));%0A        assertThat(expectedWay, is(inputWay));%0A    %7D%0A%0A%7D

add test for Bishop class