Exemple #1
0
        public void Spell_Positive_Numbers_From_100_UpTo_999_Correctly(long number, Gender gender, string result)
        {
            // Arrange
            var sut = new BgNumberSpeller();

            // Act
            string inWords = sut.SpellOrdinal(number, gender);

            // Assert
            Assert.AreEqual(result, inWords);
        }
Exemple #2
0
        public void Spell_Positive_Digits_Correctly(long number, string result)
        {
            // Arrange
            var sut = new BgNumberSpeller();

            // Act
            string inWords = sut.SpellOrdinal(number);

            // Assert
            Assert.AreEqual(result, inWords);
        }