Package com.takenoko.objective
Class PatternObjectiveTest.TestHashCode
java.lang.Object
com.takenoko.objective.PatternObjectiveTest.TestHashCode
- Enclosing class:
- PatternObjectiveTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
-
Constructor Details
-
TestHashCode
TestHashCode()
-
-
Method Details
-
hashCode_WhenPatternObjectiveIsComparedToItself_ThenItHasTheSameHashCode
@Test @DisplayName("When PatternObjective is compared to itself, it has the same hash code") void hashCode_WhenPatternObjectiveIsComparedToItself_ThenItHasTheSameHashCode() -
hashCode_WhenPatternObjectiveIsComparedToAnotherPatternObjectiveWithTheSamePattern_ThenItHasTheSameHashCode
@Test @DisplayName("When PatternObjective is compared to another PatternObjective with the same Pattern, it has the same hash code") void hashCode_WhenPatternObjectiveIsComparedToAnotherPatternObjectiveWithTheSamePattern_ThenItHasTheSameHashCode() -
hashCode_WhenPatternObjectiveIsComparedToAnotherPatternObjectiveWithADifferentPattern_ThenItHasADifferentHashCode
@Test @DisplayName("When PatternObjective is compared to another PatternObjective with a different Pattern, it has a different hash code") void hashCode_WhenPatternObjectiveIsComparedToAnotherPatternObjectiveWithADifferentPattern_ThenItHasADifferentHashCode()
-