Exemplo n.º 1
0
        public void Read1111ShouldReturnEintausendeinhundertelf()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1111);

            Assert.AreEqual("eintausendeinhundertelf", result);
        }
Exemplo n.º 2
0
        public void Read1213ShouldReturnEinausendzweihundertdreizehn()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1213);

            Assert.AreEqual("eintausendzweihundertdreizehn", result);
        }
Exemplo n.º 3
0
        public void Read1000ShouldReturnEintausend()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1000);

            Assert.AreEqual("eintausend", result);
        }
Exemplo n.º 4
0
        public void Read102ShouldReturneinhundertwei()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(102);

            Assert.AreEqual("einhundertzwei", result);
        }
Exemplo n.º 5
0
        public void Read14ShouldReturnVierZehn()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(14);

            Assert.AreEqual("vierzehn", result);
        }
Exemplo n.º 6
0
        public void Read12ShouldReturnNTwelfe()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(12);

            Assert.AreEqual("zwölf", result);
        }
Exemplo n.º 7
0
        public void Read9999ShouldReturnNeuntausendneunhundertneunundneunzig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(9999);

            Assert.AreEqual("neuntausendneunhundertneunundneunzig", result);
        }
Exemplo n.º 8
0
        public void Read9ShouldReturnNine()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(9);

            Assert.AreEqual("neun", result);
        }
Exemplo n.º 9
0
        public void Read50ShouldReturnfünfzig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(50);

            Assert.AreEqual("fünfzig", result);
        }
Exemplo n.º 10
0
        public void Read764ShouldReturnSiebenhundertvierundsechzig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(764);

            Assert.AreEqual("siebenhundertvierundsechzig", result);
        }
Exemplo n.º 11
0
        public void Read3ShouldReturnThree()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(3);

            Assert.AreEqual("drei", result);
        }
Exemplo n.º 12
0
        public void Read31ShouldReturnEinunddreißig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(31);

            Assert.AreEqual("einunddreißig", result);
        }
Exemplo n.º 13
0
        public void Read2ShouldReturnTwo()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(2);

            Assert.AreEqual("zwei", result);
        }
Exemplo n.º 14
0
        public void Read20ShouldReturnZwanzig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(20);

            Assert.AreEqual("zwanzig", result);
        }
Exemplo n.º 15
0
        public void Read1ShouldReturnOne()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1);

            Assert.AreEqual("eins", result);
        }