public void DigitarEExibir12() { var c = new CalculadoraViewModel(); c.Informar("1"); c.Informar("2"); Assert.AreEqual("12", c.Display); }
public void Digitar2p2igual4p2igual6() { var c = new CalculadoraViewModel(); c.Informar("2"); c.Informar("+"); c.Informar("2"); c.Informar("="); c.Informar("+"); c.Informar("2"); c.Informar("="); Assert.AreEqual("6", c.Display); }