def test_limit_D12p1(mock_random): mock_random.randint.return_value = 12 r = D12p1.roll() assert_equals(r, 12)
def test_normal_D12p1(mock_random): mock_random.randint.return_value = 1 r = D12p1.roll() assert_equals(r, 2)