public void Test1()
 {
     Decompose d = new Decompose();
     long n = 11;
     Assert.AreEqual("1 2 4 10", d.decompose(n));
     Assert.AreEqual("1 3 5 8 49", d.decompose(50));
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            // https://www.codewars.com/kata/54eb33e5bc1a25440d000891 solution by TobiH

            Decompose d = new Decompose();

            Console.WriteLine(d.decompose(11));
            Console.ReadLine();
        }