예제 #1
0
 @Test
 public void testOne() {
   assertEquals(expectedList(), PrimeFactors.Create(1));
 }
예제 #2
0
 @Test
 public void testNine() {
   assertEquals(expectedList(3, 3), PrimeFactors.Create(9));
 }
예제 #3
0
 @Test
 public void testEight() {
   assertEquals(expectedList(2, 2, 2), PrimeFactors.Create(8));
 }
예제 #4
0
 @Test
 public void testSix() {
   assertEquals(expectedList(2, 3), PrimeFactors.Create(6));
 }
예제 #5
0
 @Test
 public void testFour() {
   assertEquals(expectedList(2, 2), PrimeFactors.Create(4));
 }
예제 #6
0
 @Test
 public void testTwo() {
   assertEquals(expectedList(2), PrimeFactors.Create(2));
 }