• jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    15
    ·
    11 months ago

    Nothing to test? Lol what.

    def add(a: int, b: int) -> int: return a * b

    All types are correct. No side effects. Does the wrong thing.

        • danA
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          11 months ago

          Old and busted: Fix the function

          New hotness: Redefine enough words in the English language such that the function is now correctly implemented