public void MissingEqualSignReturnsEmptyString() { const string expression = "5 + 3"; Assert.That(EvaluationHelper.ExtractExpressionPart(expression), Is.EqualTo(String.Empty)); }
public void ExtractExpressionPartFromString() { const string expression = "c = 5 + 3"; Assert.That(EvaluationHelper.ExtractExpressionPart(expression), Is.EqualTo("5 + 3")); }