Open robinmoussu opened 6 years ago
Ideally, the last syntax ((3;4;5;1)ms
) is the one I would probably prefer.
In fact I think that I will need at one point a way to specify the full list of all the next rolls, if I want to be able to unit test the reroll and reroll until operator (witch could be only accessible in c++, not necessarily from the cli).
I was able to mock the dices (see PR #15), so I don't think this issue is urgent. You may consider close it if you will.
I was trying to write unit test, and I was searching a was trying to find the best way to have deterministic test (I would like to use constant instead of dices to test the operators).
I don't this issue need to be fixed now, I just would like to have a workaround.
With
d1
instead of constant it doesn't work either:I tried removing the
;
before them
. Them
operator dosen't do his jobAt least the
d1
version works (but it's obviously what I want to do)So I tried to do it with the
L
diceBut unfortunatly, m don't works with list, it look like
Btw, I also tried to use parenthesis instead of
m
, and it's not working as expected