@@ -0,0 +1,1306 @@
+package ru.revdaalex.calculator;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;%0A%0A/**%0A * Calculator test.%0A * Created by revdaalex on 09.06.2016.%0A */%0Apublic class CalculatorTest %7B%0A    private static Calculator calculator;%0A%0A    /**%0A     *Initialization Calculator object.%0A     */%0A    @BeforeClass%0A    public static void runTest()%7B%0A        calculator = new Calculator();%0A    %7D%0A%0A    /**%0A     * Test add method.%0A     * @throws Exception%0A     */%0A    @Test%0A    public void add() throws Exception %7B%0A        double test = calculator.add(30, 27);%0A        Assert.assertThat(test, is(57.0));%0A    %7D%0A%0A    /**%0A     * Test sub method.%0A     * @throws Exception%0A     */%0A    @Test%0A    public void sub() throws Exception %7B%0A        double test = calculator.sub(200, 50);%0A        Assert.assertThat(test, is(150.0));%0A    %7D%0A%0A    /**%0A     * Test mult method.%0A     * @throws Exception%0A     */%0A    @Test%0A    public void mult() throws Exception %7B%0A        double test = calculator.mult(537, 34);%0A        Assert.assertThat(test, is(18258.0));%0A    %7D%0A%0A    /**%0A     * Test div method.%0A     * @throws Exception%0A     */%0A    @Test%0A    public void div() throws Exception %7B%0A        double test = calculator.div(2000, 50);%0A        Assert.assertThat(test, is(40.0));%0A    %7D%0A%0A%7D

add CalculatorTest.java