• csm10495@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    I once had a QA engineer file a bug saying they couldn’t do negative testing since negative numbers were converted to positive.

    The function took an unsigned integer. Took a lot of explaining to get them to understand that negative testing isn’t necessarily negative numbers.

    • tauren@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      I’d argue that the system shouldn’t automatically convert negative numbers to positive numbers. Instead, it should display an error to the user. Of course, that’s an abstract thought as I don’t know what was the system and who interacted with it.