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

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

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

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