2 * Žluťoučký kůň je naše hříbátko.
3 * and open the template in the editor.
6 package org.apidesign.sidemeanings.math;
8 import org.junit.Assert;
9 import org.junit.Before;
10 import org.junit.Test;
14 * @author Jaroslav Tulach <jtulach@netbeans.org>
16 public class FactorialTest {
21 instance = new Factorial();
25 public void testFactorial3() {
26 Assert.assertEquals(6, instance.factorial(3));
30 public void testFactorial4() {
31 Assert.assertEquals(24, instance.factorial(4));
35 public void testFactorial5() {
36 Assert.assertEquals(120, instance.factorial(5));