# import or copy and paste student code here

def mintest():

    res = 0
    if mymin(3,4,5) == 3:
        res += 1
    if mymin(4,3,5) == 3:
        res += 1
    if mymin(5,4,3) == 3:
        res += 1
    return res

def maxtest():
    res = 0
    if mymax(3,4,5) == 5:
        res += 1
    if mymax(4,5,3) == 5:
        res += 1
    if mymax(5,4,3) == 5:
        res += 1
    return res

def threetest():
    res = 0
    if threeOfAKind(6,6,7) == 0 and threeOfAKind(6,7,6) == 0 and threeOfAKind(7,6,6) == 0:
        res += 1
    if threeOfAKind(2,2,2) > 0:
        res += 1
    if threeOfAKind(2,2,2) == 36:
        res += 3
    return res

def twotest():
    res = 0
    if twoOfAKind(2,2,2) == 0:
        res += 1
    if twoOfAKind(2,2,3) == 4:
        res += 1
    if twoOfAKind(2,3,2) == 4:
        res += 1
    if twoOfAKind(3,2,2) == 4:
        res += 1
    return res

def straighttest():
    res = 0
    if straight(2,2,3) == 0 and straight(2,3,2) == 0 and straight(3,2,2) == 0 and straight(2,2,2) == 0:
        res += 1
    if straight(2,4,3) == 24:
        res += 1
    if straight(6,4,5) == 30:
        res += 1
    if straight(3,2,5) == 0:
        res += 1
    if straight(6,4,3) == 0:
        res += 1
    return res

def runtests():
    scoreMin = mintest()
    scoreMax = maxtest()
    scoreThree = threetest()
    scoreTwo = twotest()
    scoreStraight = straighttest()
    print("min func score      =",scoreMin)
    print("max func score      =",scoreMax)
    print("three func score    =", scoreThree)
    print("two func score      =", scoreTwo)
    print("straight func score =", scoreStraight)
    print("Total               =", scoreMin+scoreMax+scoreThree+scoreTwo+scoreStraight)

runtests()
        
