public void Cero()
        {
            Converted Test1    = new Converted();
            string    expected = "Cero";
            int       data     = 0;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
        public void Five_Hundred_Ninety_Nine()
        {
            Converted Test1    = new Converted();
            string    expected = "Five hundred Ninety Nine ";
            int       data     = 599;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
        public void Ninety_Nine()
        {
            Converted Test1    = new Converted();
            string    expected = "Ninety Nine ";
            int       data     = 99;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
        public void One_hundred()
        {
            Converted Test1    = new Converted();
            string    expected = "One hundred ";
            int       data     = 100;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
        public void Twenty_Eight()
        {
            Converted Test1    = new Converted();
            string    expected = "Twenty Eight ";
            int       data     = 28;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
        public void Fouty_Five()
        {
            Converted Test1    = new Converted();
            string    expected = "Fouty Five ";
            int       data     = 45;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
コード例 #7
0
        public void Cero()
        {
            string    Expected = "Cero";
            int       data     = 0;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }
        public void Ten()
        {
            Converted Test1    = new Converted();
            string    expected = "Ten ";
            int       data     = 10;

            Assert.AreEqual(expected, Test1.Chance(data));
        }
コード例 #9
0
        public void Twenty_Four()
        {
            string    Expected = "Twenty Four ";
            int       data     = 24;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }
コード例 #10
0
        public void Ninety_Five()
        {
            string    Expected = "Ninety Five ";
            int       data     = 95;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }
コード例 #11
0
        public void Nineteen()
        {
            string    Expected = "Nineteen ";
            int       data     = 19;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }
コード例 #12
0
        public void Eleven()
        {
            string    Expected = "Eleven ";
            int       data     = 11;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }
コード例 #13
0
        public void One()
        {
            string    Expected = "One ";
            int       data     = 1;
            Converted test1    = new Converted();

            Assert.AreEqual(Expected, test1.Chance(data));
        }