@@ -0,0 +1,635 @@
+package ru.job4j.loop;%0A%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0A%0A/**%0A * CounterTest.%0A * @author mklimentiev%0A * @version 1.0%0A * @since 01.04.2017%0A*/%0Apublic class CounterTest %7B%0A%0A%09/**%0A%09 * Test add.%0A%09*/%0A%09@Test%0A%09public void whenSumEvenNumbersFromOneToTenThenThirty() %7B%0A%09%09Counter counter1 = new Counter();%0A%09%09int result1 = counter1.add(1, 10);%0A%09%09assertThat(result1, is(30));%0A%09%7D%0A%0A%09/**%0A%09 * Test add.%0A%09*/%0A%09@Test%0A%09public void whenSumEvenNumbersFromZeroToTenThenThirty() %7B%0A%09%09Counter counter2 = new Counter();%0A%09%09int result2 = counter2.add(0, 11);%0A%09%09assertThat(result2, is(30));%0A%09%7D%0A%7D%0A

add CounterTest.java