Open e0426051 opened 3 years ago
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 as1
, while 0 is treated as0
. Valid integers are defined as the Javaint
type.
Under the UG glossary:
Java
int
: Defined as an integer in the programming language Java which can store numbers from -2147483648 to 2147483647
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your reason]
Team chose [severity.Low
]
Originally [severity.High
]
Reason for disagreement: [replace this with your reason]
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.