Task: Write unit test for methods in class PlayerProfileDisplay where possible.
Feature:Player Profile
The task is to write a unit test for the methods in class PlayerProfileDisplay. Most of this class is composed of methods to create UI elements which cannot be tested, however, some methods can be tested, so tests should be written for these methods.
Example (optional)
calculateAvg(sum, numElements): method to calculate the average of elements.
getPlayerProfile(): method to get the array in the JSON file storing player profile data.
Description
Task: Write unit test for methods in class PlayerProfileDisplay where possible. Feature: Player Profile
The task is to write a unit test for the methods in class PlayerProfileDisplay. Most of this class is composed of methods to create UI elements which cannot be tested, however, some methods can be tested, so tests should be written for these methods.
Example (optional)
Dependencies
Completion Deadline: Oct. 4
Documentation
Member