Example #1
0
        public void Euler9_Test()
        {
            Euler9 e9 = new Euler9();

            int result = e9.Pythag_Triplet(1000);
            Assert.That(result, Is.EqualTo(31875000));
        }
Example #2
0
        private string Euler9()
        {
            Euler9 e9 = new Euler9();
            int result = e9.Pythag_Triplet(1000);

            return result.ToString();
        }