e0426051 / pe

0 stars 0 forks source link

Program does not detect invalid negative and "larger-than-1" inputs for boolean action template #6

Open e0426051 opened 3 years ago

e0426051 commented 3 years ago

image.png

image.png

The user can set inputs such as b (the first input) as -1 and the application recorded the state of b as 1. Other negative integers such as -2, or numbers greater than 1 (e.g. 128) will also record as 1 in the application. However, this should not be the intended operation.

image.png

nus-pe-bot commented 3 years ago

Team's Response

This is already stated in our UG under setting an input value:

The VALUE can be any integer, but any valid non-zero integer will be treated as 1, while 0 is treated as 0. Valid integers are defined as the Java int type.

Under the UG glossary:

Java int: Defined as an integer in the programming language Java which can store numbers from -2147483648 to 2147483647

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]


:question: Issue severity

Team chose [severity.Low] Originally [severity.High]

Reason for disagreement: [replace this with your reason]