@@ -0,0 +1,310 @@
+package ru.nivanov;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0A%0Apublic class FactorialTest %7B%0A%09%0A%09@Test%0A%09public void whenCalculateFactThenReturnIt() %7B%0A%09Factorial factorial = new Factorial(6);%0A%09int z = factorial.calcF();%0A    assertThat(z, is (720)); %09 %09%0A%09%7D%0A%7D

add FactorialTest