Package com.takenoko.objective
Class SingleGardenerObjectiveTest.TestHashCode.TestNotEquals
java.lang.Object
com.takenoko.objective.SingleGardenerObjectiveTest.TestHashCode.TestNotEquals
- Enclosing class:
- SingleGardenerObjectiveTest.TestHashCode
@Nested
@DisplayName("should return a different hashcode when the two objects are not equal")
class SingleGardenerObjectiveTest.TestHashCode.TestNotEquals
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
-
Constructor Details
-
TestNotEquals
TestNotEquals()
-
-
Method Details
-
shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual
@Test @DisplayName("because the color is not the same") void shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual() -
shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual2
@Test @DisplayName("because the improvement is not the same") void shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual2() -
shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual3
@Test @DisplayName("because the size is not the same") void shouldReturnADifferentHashcodeWhenTheTwoObjectsAreNotEqual3()
-