def main(): #startClock = time.time() #print(solve(getInput())) #stopClock = time.time() - startClock #print("Elapsed time: ", stopClock) values = input("Enter 'x' 'y' 'z': ") print(solve(list(map(int, values.split()))))
def test_random(): for _i in range(1000): x = randrange(1000) y = randrange(1000) z = randrange(1000) zIndex = solve([x, y, z]) assert verify_solution([x, y, z], zIndex)
def test_stament_two(): assert solve([2, 1, 3]) == 3
def test_special_case_4(): assert solve([10, 10, 50]) == -1
def test_stamente_one(): assert solve([2, 0, 3]) == -1
def test_special_case_2(): assert solve([433, 423, 340]) == 68
def test_special_case(): assert solve([322, 747, 3]) == -1
def test_higher_limits_without_occurrence(): assert solve([1000, 0, 1]) == -1
def test_higher_limits(): assert solve([1000, 0, 1000]) == 1
def test_lower_limits(): assert solve([0, 0, 0]) == 0