Beispiel #1
0
        public void Pattern_ShouldBeTWOPlus1_WhenPatternIs1()
        {
            Captcha captcha = new Captcha(1, 2, 1, 1);

            Assert.AreEqual("TWO+1", captcha.ToString());
        }
Beispiel #2
0
        public void Pattern_ShouldBe2PlusOne_WhenPatternIs2()
        {
            Captcha captcha = new Captcha(2, 2, 1, 1);

            Assert.AreEqual("2+ONE", captcha.ToString());
        }
Beispiel #3
0
        public void Pattern_ShouldBeONEPlus2_WhenPatternIs1()
        {
            Captcha captcha = new Captcha(1, 1, 1, 2);

            Assert.AreEqual("ONE+2", captcha.ToString());
        }