You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring the environment (with for example Gradle v3.3).
Importing the junit .jar files, so we can run junit test cases.
Act:
Making an instance of Move Class with the following parameters:
min = 25
max = -3
the other parameters can be anything.
Assert:
The constructor will handle that the min value is greater then then max value.
Excepting:
The constructor set the value of the max to be the value of the min (because the min is greater then the max, and wtih this, the value of the min <= then the value of the max.
Actually:
The constructor set the value of the min to the value that is stored in the parameters as min and set the value of the max to the value that is stored in the parameters as max.
The constructor not handle that the value of the min is greater then the value of the max.
The text was updated successfully, but these errors were encountered:
Arrange:
Act:
Assert:
Excepting:
Actually:
The text was updated successfully, but these errors were encountered: