diff options
| author | 2021-05-12 18:48:03 +0200 | |
|---|---|---|
| committer | 2021-05-12 18:48:03 +0200 | |
| commit | ae8b7dc596f7498dbf8153c735d096ae194acf51 (patch) | |
| tree | 4c9b35d074f852c0cf13883fc711ade26cfe5026 /tests/dice/tst_dice.cpp | |
| parent | 4fd5a0988bef5c6c5d4ca96967d7d3a176f4c410 (diff) | |
| download | OneRoll-ae8b7dc596f7498dbf8153c735d096ae194acf51.tar.gz OneRoll-ae8b7dc596f7498dbf8153c735d096ae194acf51.zip | |
Make sure k operator can read value from variable.
Diffstat (limited to 'tests/dice/tst_dice.cpp')
| -rw-r--r-- | tests/dice/tst_dice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp index 97feb95..999f85b 100644 --- a/tests/dice/tst_dice.cpp +++ b/tests/dice/tst_dice.cpp @@ -614,7 +614,9 @@ void TestDice::keepTest() TestNode node; KeepDiceExecNode keepN; - keepN.setDiceKeepNumber(keep); + NumberNode* numberNode = new NumberNode(); + numberNode->setNumber(keep); + keepN.setDiceKeepNumber(numberNode); DiceResult result; |