diff options
| author | 2020-01-19 12:54:41 +0100 | |
|---|---|---|
| committer | 2020-01-29 01:45:35 +0100 | |
| commit | 097bfba45b5174a4b904e5c8474557a68365e182 (patch) | |
| tree | 24154d135a18885ed02866c6c8637cfdf0ff59b7 /tests | |
| parent | fa8df6f94f1cb265662c68811d324699f736ab4e (diff) | |
| download | OneRoll-097bfba45b5174a4b904e5c8474557a68365e182.tar.gz OneRoll-097bfba45b5174a4b904e5c8474557a68365e182.zip | |
add new test command
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dice/tst_dice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp index 8d6c1ad..7df2160 100644 --- a/tests/dice/tst_dice.cpp +++ b/tests/dice/tst_dice.cpp @@ -282,6 +282,7 @@ void TestDice::commandsTest_data() QTest::addRow("cmd85") << "8d10ok2"; QTest::addRow("cmd86") << "[100,200,300]k2"; QTest::addRow("cmd87") << "100;200;300;[$1,$2,$3]k2"; + QTest::addRow("cmd88") << "1d20|3i:[>1]{\"Success\"}{\"Failure\"}"; } void TestDice::wrongCommandsTest() |