예제 #1
0
        public void Read1111ShouldReturnEintausendeinhundertelf()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1111);

            Assert.AreEqual("eintausendeinhundertelf", result);
        }
예제 #2
0
        public void Read1213ShouldReturnEinausendzweihundertdreizehn()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1213);

            Assert.AreEqual("eintausendzweihundertdreizehn", result);
        }
예제 #3
0
        public void Read1000ShouldReturnEintausend()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1000);

            Assert.AreEqual("eintausend", result);
        }
예제 #4
0
        public void Read102ShouldReturneinhundertwei()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(102);

            Assert.AreEqual("einhundertzwei", result);
        }
예제 #5
0
        public void Read14ShouldReturnVierZehn()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(14);

            Assert.AreEqual("vierzehn", result);
        }
예제 #6
0
        public void Read12ShouldReturnNTwelfe()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(12);

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

            string result = numberConverter.Convert(9999);

            Assert.AreEqual("neuntausendneunhundertneunundneunzig", result);
        }
예제 #8
0
        public void Read9ShouldReturnNine()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(9);

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

            string result = numberConverter.Convert(50);

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

            string result = numberConverter.Convert(764);

            Assert.AreEqual("siebenhundertvierundsechzig", result);
        }
예제 #11
0
        public void Read3ShouldReturnThree()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(3);

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

            string result = numberConverter.Convert(31);

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

            string result = numberConverter.Convert(2);

            Assert.AreEqual("zwei", result);
        }
예제 #14
0
        public void Read20ShouldReturnZwanzig()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(20);

            Assert.AreEqual("zwanzig", result);
        }
예제 #15
0
        public void Read1ShouldReturnOne()
        {
            var numberConverter = new NumberConverter();

            string result = numberConverter.Convert(1);

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