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 Particle Class
Store this instance in a variable
Call the init() method on this variable, with the following params: int type, Vector2 position, Vector2 velocity, float lifespan, int numFrames and float delay.
Assert:
A new particle instance will be created after the call of the init() method with the use of all of the parameters.
Excepting:
init() method will use every parameters to create a new Particle instance.
Actually:
We can specify the numFrames and delay params, but they are never used in the method.
Possible solution:
Deleting the numFrames and delay variables from the parameter list of the init() method in the Particle Class.
The text was updated successfully, but these errors were encountered:
Arrange:
Act:
Assert:
Excepting:
Actually:
Possible solution:
The text was updated successfully, but these errors were encountered: