public void LeftOperand_WhenInputIs1299_ShouldBe2() { Captcha captcha = new Captcha(1, 2, 9, 9); String operand = captcha.LeftOperand(); Assert.AreEqual("2", operand); }
public void LeftOperand_WhenInputIs1999_ShouldBe9() { Captcha captcha = new Captcha(1, 9, 1, 1); String operand = captcha.LeftOperand(); Assert.AreEqual("9", operand); }
public void LeftOperand_WhenInputIs2911_ShouldBeOne() { Captcha captcha = new Captcha(2, 9, 1, 1); String operand = captcha.LeftOperand(); Assert.AreEqual("Nine", operand); }