@@ -0,0 +1,1382 @@
+package ru.job4j.calculator;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A * Test.%0A *%0A * @author Denis Popov (mailto:d.popov93@mail.ru)%0A * @version $Id$%0A * @since 0.1%0A */%0Apublic class CalculatorTest %7B%0A%09/**%0A%09* Test add.%0A%09*/%0A    @Test%0A    public void whenAddOnePlusOneThenTwo() %7B%0A        Calculator calc = new Calculator();%0A        calc.add(1D, 1D);%0A        double result = calc.getResult();%0A        double expected = 2D;%0A        assertThat(result, is(expected));%0A    %7D%0A%0A%09/**%0A%09* Test subtract.%0A%09*/%0A    @Test%0A    public void whenSubtractOneMinusOneThenZero() %7B%0A        Calculator calc = new Calculator();%0A        calc.subtract(1D, 1D);%0A        double result = calc.getResult();%0A        double expected = 0D;%0A        assertThat(result, is(expected));%0A    %7D%0A%0A%09/**%0A%09* Test divide.%0A%09*/%0A    @Test%0A    public void whenTwoDividedByTwoThenOne() %7B%0A        Calculator calc = new Calculator();%0A        calc.div(2D, 2D);%0A        double result = calc.getResult();%0A        double expected = 1D;%0A        assertThat(result, is(expected));%0A    %7D%0A%0A%09/**%0A%09* Test multiplication.%0A%09*/%0A    @Test%0A    public void whenMultiplyTwoByTwoThenFour() %7B%0A        Calculator calc = new Calculator();%0A        calc.multiple(2D, 2D);%0A        double result = calc.getResult();%0A        double expected = 4D;%0A        assertThat(result, is(expected));%0A    %7D%0A%7D

Test update, fix errors