public void ClearC() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('C'); Assert.AreEqual("0", calculator.getDisplay()); }
public void ClearCE() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('E'); //jaki Char? Assert.AreEqual("0", calculator.getDisplay()); }
public void NumOperNum() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('+'); calculator.sendData('3'); Assert.AreEqual("3", calculator.getDisplay()); }
public void Sinus() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('9'); calculator.sendData('0'); calculator.sendData('S'); Assert.AreEqual("1", calculator.getDisplay()); }
public void DotInside() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData(','); calculator.sendData('3'); Assert.AreEqual("4,3", calculator.getDisplay()); }
public void ClearBackspace() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('3'); calculator.sendData('1'); calculator.sendData('B'); Assert.AreEqual("43", calculator.getDisplay()); }
public void NumberNumber() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('7'); calculator.sendData('2'); calculator.sendData('3'); calculator.sendData('7'); Assert.AreEqual("47237", calculator.getDisplay()); }
public void OperafterSinus() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('9'); calculator.sendData('0'); calculator.sendData('S'); calculator.sendData('+'); calculator.sendData('4'); calculator.sendData('='); Assert.AreEqual("5", calculator.getDisplay()); }
public void SinusafterOper() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('8'); calculator.sendData('6'); calculator.sendData('+'); calculator.sendData('4'); calculator.sendData('='); calculator.sendData('S'); Assert.AreEqual("1", calculator.getDisplay()); }
public void NumOperNumDiffOperEq() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('+'); calculator.sendData('3'); calculator.sendData('*'); calculator.sendData('2'); calculator.sendData('='); Assert.AreEqual("14", calculator.getDisplay()); }
public void ClearCEOper() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData('+'); calculator.sendData('2'); calculator.sendData('E'); calculator.sendData('+'); calculator.sendData('5'); calculator.sendData('='); Assert.AreEqual("9", calculator.getDisplay()); }
public void ClearCafterOperDot() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData(','); calculator.sendData('3'); calculator.sendData('+'); calculator.sendData(','); calculator.sendData('1'); calculator.sendData('C'); Assert.AreEqual("0", calculator.getDisplay()); }
public void DotInsideOperEq() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData('4'); calculator.sendData(','); calculator.sendData('3'); calculator.sendData('+'); calculator.sendData('2'); calculator.sendData(','); calculator.sendData('1'); calculator.sendData('='); Assert.AreEqual("6,4", calculator.getDisplay()); }
public void DotStart() { calculator = new Calculator.KalkulatorWeqqen.Calculator(); calculator.sendData(','); Assert.AreEqual("0,", calculator.getDisplay()); }