@@ -0,0 +1,344 @@
+package ru.ematveev.factorial;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.number.IsCloseTo.closeTo;%0A%0Apublic class FactorialTest%7B%0A%0A@Test%0Apublic void factorialTest()%7B%0A%0A%09Factorial f = new Factorial(6);%0A%09int result = f.factorial();%0A%0A%09assertThat(result, is(720));%0A%7D%0A%0A%7D

add file FactorialTest.java