Package com.takenoko.objective
Class PandaObjectiveTest.TestGetCompletion
java.lang.Object
com.takenoko.objective.PandaObjectiveTest.TestGetCompletion
- Enclosing class:
- PandaObjectiveTest
@Nested
@DisplayName("Method getCompletion")
class PandaObjectiveTest.TestGetCompletion
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
-
Constructor Details
-
TestGetCompletion
TestGetCompletion()
-
-
Method Details
-
getCompletion_WhenObjectiveIsNotAchieved_ThenReturns0
@Test @DisplayName("When the objective is not achieved, returns 0") void getCompletion_WhenObjectiveIsNotAchieved_ThenReturns0() -
getCompletion_WhenObjectiveIsAchieved_ThenReturns1
@Test @DisplayName("When the objective is achieved, returns 1") void getCompletion_WhenObjectiveIsAchieved_ThenReturns1() -
getCompletion_WhenObjectiveIsPartiallyAchieved_ThenReturnsCorrectValue
@Test @DisplayName("When the objective is partially achieved, returns the correct value") void getCompletion_WhenObjectiveIsPartiallyAchieved_ThenReturnsCorrectValue()
-