private static void GivenProblem1()
 {
     _problem = new Problem1();
 }
 public void Sample()
 {
     Problem1 p1 = new Problem1(10);
     Assert.AreEqual(23, p1.Run());
 }
Exemple #3
0
        static void Main(string[] args)
        {
            Problems.Problem1 prob = new Problems.Problem1();

            Console.WriteLine(prob.Answer());
        }
 public void Problem()
 {
     Problem1 p1 = new Problem1(1000);
     Assert.AreEqual(233168, p1.Run());
 }