public void CanDivide() { var engine = new Engine(); engine.Digit(6); engine.Divide(); engine.Digit(2); engine.Equals(); Assert.AreEqual(3, engine.Value); }
public void CanDivideWithFractionalResult() { var engine = new Engine(); engine.Digit(3); engine.Divide(); engine.Digit(2); engine.Equals(); Assert.AreEqual(1.5, engine.Value); }