예제 #1
0
 public void Problem()
 {
     IProblem p = new Problem9(1000);
     Assert.AreEqual(31875000, p.Run());
 }
예제 #2
0
 public void Sample()
 {
     //3^2 + 4^2 = 5^2
     IProblem p = new Problem9(12);
     Assert.AreEqual(60, p.Run());
 }
예제 #3
0
 private static void GivenProblem9()
 {
     _problem = new Problem9();
 }