def test_gamelogic_rolldice_onetosix(): tuple_created = GameLogic.roll_dice(10) actual = True for i in tuple_created: if i < 1 or i > 6: actual = False expected = True assert actual == expected
def test_gamelogic_rolldice_six(): tuple_created = GameLogic.roll_dice(6) actual = len(tuple_created) expected = 6 assert actual == expected