From 2e09c80db228b5ac4043864e90e8c4c1e3284418 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 26 Apr 2020 16:39:09 +0200 Subject: fix tests. --- tests/dice/tst_dice.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/dice/tst_dice.cpp') diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp index cc156dc..4c39bd4 100644 --- a/tests/dice/tst_dice.cpp +++ b/tests/dice/tst_dice.cpp @@ -971,9 +971,10 @@ void TestDice::ifTest_data() QTest::addColumn("expectedResult"); int onEach= 0; - int oneOfThem= 1; - int allOfThem= 2; - int onScalar= 3; + int onEachValue= 1; + int oneOfThem= 2; + int allOfThem= 3; + int onScalar= 4; QTest::addRow("cmd1") << QVector({8, 9, 2}) << onEach << 0 << "False"; QTest::addRow("cmd2") << QVector({2, 2, 2}) << onEach << 2 << "True"; -- cgit v1.2.3-70-g09d2