| 219 | QCOMPARE(fnct(5.11, 1, 5), 0); |
| 220 | } |
| 221 | void ExpressionParserTest::testoutsideIncluded() { |
| 222 | auto fnct = getFunction3(QStringLiteral("outside_inc")); |
| 223 | QVERIFY(fnct); |
| 224 | |
| 225 | QCOMPARE(fnct(0.99, 1, 5), 1); |
| 226 | QCOMPARE(fnct(1, 1, 5), 1); |
| 227 | QCOMPARE(fnct(2, 1, 5), 0); |
| 228 | QCOMPARE(fnct(5, 1, 5), 1); |
| 229 | QCOMPARE(fnct(5.11, 1, 5), 1); |
| 230 | } |
| 231 | void ExpressionParserTest::testbetween() { |
| 232 | auto fnct = getFunction3(QStringLiteral("between")); |
| 233 | QVERIFY(fnct); |
nothing calls this directly
no test coverage detected