diff options
| author | 2022-05-18 01:10:24 +0200 | |
|---|---|---|
| committer | 2022-05-18 01:10:24 +0200 | |
| commit | 57acb8a12a2d9b66145a0a8382e4536a4170c1b0 (patch) | |
| tree | 3c4e540577cf4d94fcec44e4a8039bbfd05b73ed /src/tests/dice/tst_dice.cpp | |
| parent | af6c9d2bea9582bd944952025278b2fb1334af26 (diff) | |
| download | OneRoll-57acb8a12a2d9b66145a0a8382e4536a4170c1b0.tar.gz OneRoll-57acb8a12a2d9b66145a0a8382e4536a4170c1b0.zip | |
Add limitation support for explode node.
Diffstat (limited to 'src/tests/dice/tst_dice.cpp')
| -rw-r--r-- | src/tests/dice/tst_dice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/dice/tst_dice.cpp b/src/tests/dice/tst_dice.cpp index 9318341..77b4944 100644 --- a/src/tests/dice/tst_dice.cpp +++ b/src/tests/dice/tst_dice.cpp @@ -322,6 +322,7 @@ void TestDice::commandsTest_data() QTest::addRow("cmd12") << "1D100a[>=95]a[>=96]a[>=97]a[>=98]a[>=99]e[>=100]"; QTest::addRow("cmd13") << "3D100"; QTest::addRow("cmd14") << "4k3"; + QTest::addRow("cmd15") << "10D10e[>=6]sc[>=6]"; QTest::addRow("cmd16") << "10D10e10s"; QTest::addRow("cmd17") << "10D10s"; @@ -392,6 +393,7 @@ void TestDice::commandsTest_data() QTest::addRow("cmd90") << "1L[-3,-2,2,3]+10;1L[-3,-2,2,3]"; QTest::addRow("cmd91") << "1d20|3i:[>1]{\"Success\"}{\"Failure\"}"; QTest::addRow("cmd92") << "4d10k3;4d10k3;4d10k3;[$1,$2,$3]s;\"Score @4\""; + QTest::addRow("cmd93") << "4d10e(10)10"; } void TestDice::rangedCommandsTest() |