@@ -0,0 +1,382 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A%0Apublic class FactorialTest %7B%0A    /**%0A    *Test add.%0A    */%0A    %0A@Test%0Apublic void WhenAddBothOfParamThanCalculateFactorial() %7B %0A%0A%09%09%09%09%0A%09%09%09%09assertThat(factorial(4,5), is(480));%0A%09%09%09%09%0A%09%09%09%09%0A%7D%0A%0A%7D%0A

add factorialtest.java