Class ImprovementDeckTest.TestHashCode

java.lang.Object
com.takenoko.asset.ImprovementDeckTest.TestHashCode
Enclosing class:
ImprovementDeckTest

@Nested @DisplayName("Method hashCode") class ImprovementDeckTest.TestHashCode extends Object
  • Constructor Details

    • TestHashCode

      TestHashCode()
  • Method Details

    • hashCode_WhenTwoDecksAreInstantiated_ThenTheyHaveTheSameHashcode

      @Test @DisplayName("When two decks are instantiated, they should have the same hashcode") void hashCode_WhenTwoDecksAreInstantiated_ThenTheyHaveTheSameHashcode()
    • hashCode_WhenTwoDecksAreDifferent_ThenTheyHaveDifferentHashcode

      @Test @DisplayName("When two decks are different, they should have different hashcode") void hashCode_WhenTwoDecksAreDifferent_ThenTheyHaveDifferentHashcode()