public void LeftOperand_ShouldBeONE_WhenInputIs1() { Captcha captcha = new Captcha(1, 1, 1, 1); Assert.AreEqual("ONE", captcha.GetLeftOperand()); }
public void Operator_ShouldBePlus_WhenInputIs1() { Captcha captcha = new Captcha(1, 1, 1, 1); Assert.AreEqual("+", captcha.GetOperator()); }
public void LeftOperand_ShouldBeTHREE_WhenInputIs3() { Captcha captcha = new Captcha(1, 3, 1, 1); Assert.AreEqual("THREE", captcha.GetLeftOperand()); }
public void LeftOperand_ShouldBeFOUR_WhenInputIs4() { Captcha captcha = new Captcha(1, 4, 1, 1); Assert.AreEqual("FOUR", captcha.GetLeftOperand()); }
public void Pattern_ShouldBe2PlusOne_WhenPatternIs2() { Captcha captcha = new Captcha(2, 2, 1, 1); Assert.AreEqual("2+ONE", captcha.ToString()); }
public void LeftOperand_ShouldBeTWO_WhenInputIs2() { Captcha captcha = new Captcha(1, 2, 1, 1); Assert.AreEqual("TWO", captcha.GetLeftOperand()); }
public void Pattern_ShouldBeONEPlus2_WhenPatternIs1() { Captcha captcha = new Captcha(1, 1, 1, 2); Assert.AreEqual("ONE+2", captcha.ToString()); }
public void Pattern_ShouldBeTWOPlus1_WhenPatternIs1() { Captcha captcha = new Captcha(1, 2, 1, 1); Assert.AreEqual("TWO+1", captcha.ToString()); }
public void RightOperand_ShouldBe2_WhenInputIs2() { Captcha captcha = new Captcha(1, 1, 1, 2); Assert.AreEqual("2", captcha.GetRightOperand()); }
public void RightOperand_ShouldBeNINE_WhenInputIs9() { Captcha captcha = new Captcha(2, 1, 1, 9); Assert.AreEqual("NINE", captcha.GetRightOperand()); }
public void RightOperand_ShouldBe1_WhenInputIs1() { Captcha captcha = new Captcha(1, 1, 1, 1); Assert.AreEqual("1", captcha.GetRightOperand()); }
public void Operator_ShouldBeMultiply_WhenInputIs2() { Captcha captcha = new Captcha(1, 1, 2, 1); Assert.AreEqual("*", captcha.GetOperator()); }
public void Operator_ShouldBeMinus_WhenInputIs3() { Captcha captcha = new Captcha(1, 1, 3, 1); Assert.AreEqual("-", captcha.GetOperator()); }