示例#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));
 }