Esempio n. 1
0
        public void PerfectSquareSums_12()
        {
            var sq    = new PerfectSquares();
            var parts = sq.NumSquares(12);

            Assert.AreEqual(3, parts);
        }
Esempio n. 2
0
        public void PerfectSquareSums_7()
        {
            var sq    = new PerfectSquares();
            var parts = sq.NumSquares(7);

            Assert.AreEqual(4, parts);
        }