Class HistoryTest.HashCode

java.lang.Object
com.takenoko.engine.HistoryTest.HashCode
Enclosing class:
HistoryTest

@Nested @DisplayName("method hashCode") class HistoryTest.HashCode extends Object
  • Constructor Details

    • HashCode

      HashCode()
  • Method Details

    • hashcode_shouldReturnSameHashCodeWhenComparingSameObject

      @Test @DisplayName("Should return the same hash code when comparing the same object") void hashcode_shouldReturnSameHashCodeWhenComparingSameObject()
    • hashcode_shouldReturnSameHashCodeWhenComparingTwoEmptyHistories

      @Test @DisplayName("Should return the same hash code when comparing two empty histories") void hashcode_shouldReturnSameHashCodeWhenComparingTwoEmptyHistories()
    • shouldReturnSameHashCodeWhenComparingTwoHistoriesWithSameData

      @Test @DisplayName("Should return the same hash code when comparing two histories with the same data") void shouldReturnSameHashCodeWhenComparingTwoHistoriesWithSameData()
    • shouldReturnDifferentHashCodeWhenComparingTwoHistoriesWithDifferentData

      @Test @DisplayName("Should return a different hash code when comparing two histories with different data") void shouldReturnDifferentHashCodeWhenComparingTwoHistoriesWithDifferentData()