Esempio n. 1
0
        public void ConvertListOfArraysToString_CreateFinalOutput_True()
        {
            //arrange
            List <int[]> al = new List <int[]> {
                new int[] { 3, 7, 8 }, new int[] { 4, 6, 4 }, new int[] { 6 }
            };
            string er = "six million four hundred sixty four thousand eight hundred seventy three";
            //act
            NumToWord ntw = new NumToWord();
            string    ar  = ntw.ConvertListOfArraysToString(al);

            Assert.AreEqual(er, ar);
        }