Example #1
0
        public void TestHappyNumber()
        {
            var happyNumber = new HappyNumber();

            for (var i = 50; i < 1000; i++)
            {
//                var simple = happyNumber.Simple(i);

                var otherSolution = happyNumber.OtherSolution(i);

                _output.WriteLine(happyNumber.count + "  i:" + i);

                happyNumber.count = 0;

//                Assert.Equal(simple,otherSolution);
            }
        }