Example #1
0
        public void Euler1_Test()
        {
            Euler1 e1 = new Euler1();

            int result = e1.FindNaturalNumbers();

            Assert.That(result, Is.EqualTo(233168));
        }
Example #2
0
        private string Euler1()
        {
            Euler1 e1 = new Euler1();

            return(e1.FindNaturalNumbers().ToString());
        }