-
Notifications
You must be signed in to change notification settings - Fork 1
AchievementManagerTest
remmy edited this page Oct 12, 2024
·
1 revision
The AchievementManagerTest verifies proper loading, saving, and retrieval of achievements. Below you can find all the tests.
@BeforeEach
void setup() {
Achievements.clearState();
}
-
testAchievementsLoaded():
Verifies that achievements are correctly loaded from the config. -
testAchievementsSavedAndLoadedCorrectly():
Ensures a newly added achievement is saved, reloaded, and restored. -
containsAchievement():
A helper method that checks if a list of achievements contains an achievement with a specified quest name.