예제 #1
0
 public void TestEight()
 {
     Assert.That(List(2, 2, 2), Is.EqualTo(PrimeFactor.Generate(8)));
 }
예제 #2
0
 public void TestNine()
 {
     Assert.That(List(3, 3), Is.EqualTo(PrimeFactor.Generate(9)));
 }
예제 #3
0
 public void TestSix()
 {
     Assert.That(List(2, 3), Is.EqualTo(PrimeFactor.Generate(6)));
 }
예제 #4
0
 public void Tesfour()
 {
     Assert.That(List(2, 2), Is.EqualTo(PrimeFactor.Generate(4)));
 }
예제 #5
0
 public void Testhree()
 {
     Assert.That(List(3), Is.EqualTo(PrimeFactor.Generate(3)));
 }
예제 #6
0
 public void Testwo()
 {
     Assert.That(List(2), Is.EqualTo(PrimeFactor.Generate(2)));
 }
예제 #7
0
 public void Testone()
 {
     Assert.That(List(), Is.EqualTo(PrimeFactor.Generate(1)));
 }