Exemplo n.º 1
0
 public void CanClearAll()
 {
     var engine = new Engine();
       engine.Digit(1);
       engine.Plus();
       engine.Digit(2);
       engine.ClearAll();
       Assert.AreEqual(0, engine.Value);
       engine.Equals();
       Assert.AreEqual(0, engine.Value);
 }