コード例 #1
0
        public void TestSumSquareDifferenceUpTo100()
        {
            var task       = new Task6();
            int upToNumber = 100;

            Assert.AreEqual(25164150, task.Run(upToNumber), $"Sum of square difference up to {upToNumber} is incorrect");
        }
コード例 #2
0
 static void Main(string[] args)
 {
     Task6.Run();
 }