Esempio n. 1
0
        static void Main(string[] args)
        {
            var myArray = Enumerable.Range(1, 20).ToArray();


            List <string> fizz = Eng35Tests.Fizzbuzz(myArray);

            foreach (var str in fizz)
            {
                Console.WriteLine(str);
            }

            Console.WriteLine(Eng35Tests.Power(1, 2, 3));
        }
Esempio n. 2
0
        public void CalculatePower(double xx, double yy, double zz, double expected)
        {
            var actual = Eng35Tests.Power(xx, yy, zz);

            Assert.AreEqual(expected, actual);
        }