Example #1
0
 public void TestMain()
 {
     Assert.That(PrimeFactor.Genarate(84), Is.EqualTo(List(2, 2, 3, 7)));
 }
Example #2
0
 public void TestEight()
 {
     Assert.That(PrimeFactor.Genarate(8), Is.EqualTo(List(2, 2, 2)));
 }
Example #3
0
 public void TestNine()
 {
     Assert.That(PrimeFactor.Genarate(9), Is.EqualTo(List(3, 3)));
 }
Example #4
0
 public void TestSix()
 {
     Assert.That(PrimeFactor.Genarate(6), Is.EqualTo(List(2, 3)));
 }
Example #5
0
 public void TestSeven()
 {
     Assert.That(PrimeFactor.Genarate(7), Is.EqualTo(List(7)));
 }
Example #6
0
 public void TestFive()
 {
     Assert.That(PrimeFactor.Genarate(5), Is.EqualTo(List(5)));
 }
Example #7
0
 public void TestFour()
 {
     Assert.That(PrimeFactor.Genarate(4), Is.EqualTo(List(2, 2)));
 }
Example #8
0
 public void TesThree()
 {
     Assert.That(PrimeFactor.Genarate(3), Is.EqualTo(List(3)));
 }
Example #9
0
 public void TestTwo()
 {
     Assert.That(PrimeFactor.Genarate(2), Is.EqualTo(List(2)));
 }
Example #10
0
 public void TestOne()
 {
     Assert.That(PrimeFactor.Genarate(1), Is.EqualTo(new List <int>()));
 }