Exemplo n.º 1
0
        public void LeftOperand_WhenInputIs1299_ShouldBe2()
        {
            Captcha captcha = new Captcha(1, 2, 9, 9);
            String  operand = captcha.LeftOperand();

            Assert.AreEqual("2", operand);
        }
Exemplo n.º 2
0
        public void LeftOperand_WhenInputIs1999_ShouldBe9()
        {
            Captcha captcha = new Captcha(1, 9, 1, 1);
            String  operand = captcha.LeftOperand();

            Assert.AreEqual("9", operand);
        }
Exemplo n.º 3
0
        public void LeftOperand_WhenInputIs2911_ShouldBeOne()
        {
            Captcha captcha = new Captcha(2, 9, 1, 1);
            String  operand = captcha.LeftOperand();

            Assert.AreEqual("Nine", operand);
        }