aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-04-26 16:39:09 +0200
committerRenaud G <renaud@rolisteam.org>2020-04-26 16:39:09 +0200
commit2e09c80db228b5ac4043864e90e8c4c1e3284418 (patch)
treed2f21769cfcc665b11c5f588fc1adbd8a3f36c48 /tests
parent5f68d8399b771da0f3500a5d037315607e25c78d (diff)
downloadOneRoll-2e09c80db228b5ac4043864e90e8c4c1e3284418.tar.gz
OneRoll-2e09c80db228b5ac4043864e90e8c4c1e3284418.zip
fix tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/dice/tst_dice.cpp7
1 files changed, 4 insertions, 3 deletions
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<QString>("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<int>({8, 9, 2}) << onEach << 0 << "False";
QTest::addRow("cmd2") << QVector<int>({2, 2, 2}) << onEach << 2 << "True";