Beispiel #1
0
 def testSimple(self):
     assert _string_to_sets("1d6") == [DiceSet(1,6)]
Beispiel #2
0
 def testX(self):
     assert _string_to_sets("1d6x3") == [DiceSet(1,6), DiceSet(1,6), DiceSet(1,6)]
Beispiel #3
0
 def testConstant(self):
     assert _string_to_sets("6") == [DiceSet(6,1)]