"""Some broken code for the testing worksheet."""


def same_abs_v1(int1: int, int2: int) -> bool:
    """Return True iff int1 and int2 have the same absolute value.
    """

    return abs(int1) == int2


def same_abs_v2(int1: int, int2: int) -> bool:
    """Return True iff int1 and int2 have the same absolute value.
    """

    return int1 == abs(int2)


def same_abs_v3(int1: int, int2: int) -> bool:
    """Return True iff int1 and int2 have the same absolute value.
    """

    return int1 == -1 * int2 or -1 * int1 == int2


def same_abs_v4(int1: int, int2: int) -> bool:
    """Return True iff int1 and int2 have the same absolute value.
    """

    if abs(int1) == abs(int2):
        return True
