Ejemplo n.º 1
0
        public void ArabToText_Should_ThrowArgumentOutOfRangeException(Int64 number, string text)
        {
            //Arrange
            var spltotxt = new SpellToText();

            //Act
            var _remainder = 0;
            var _text      = spltotxt.ArabToText((int)number, out _remainder);

            //Assert
            Assert.AreEqual(text, _text);
        }
Ejemplo n.º 2
0
        public void ArabToText_Should_Return_ValidText(int number, string text)
        {
            //Arrange
            var spltotxt = new SpellToText();

            //Act
            var _remainder = 0;
            var _text      = spltotxt.ArabToText(number, out _remainder);

            //Assert
            Assert.AreEqual(text, _text);
        }