Commit 237204f3 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Suggest test to add in the future that currently fails

parent 8d84f8d7
......@@ -258,4 +258,19 @@ void BuiltInTest::testCall()
QCOMPARE(calc.toString(), output);
else
QCOMPARE(QStringLiteral("err"), output);
// Expression eval;
// foreach(const QString& input, inputs) {
// Expression ei(input);
// if(!ei.isCorrect()) qDebug() << "error:" << ei.error();
// QVERIFY(ei.isCorrect());
// a.setExpression(ei);
// QVERIFY(a.isCorrect());
// eval = a.evaluate();
// }
//
// if(a.isCorrect())
// QCOMPARE(eval.toString(), output);
// else
// QCOMPARE(QStringLiteral("err"), output);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment