Class TileDeckTest.HashCode

java.lang.Object
com.takenoko.asset.TileDeckTest.HashCode
Enclosing class:
TileDeckTest

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

    • HashCode

      HashCode()
  • Method Details

    • whenComparingTwoTileDecksTheyHaveTheSameHashCodeIfTheyHaveTheSameTiles

      @Test @DisplayName("When comparing two tile decks, they have the same hash code if they have the same tiles and the same random seed") void whenComparingTwoTileDecksTheyHaveTheSameHashCodeIfTheyHaveTheSameTiles()
    • whenComparingTwoTileDecksTheyHaveDifferentHashCodesIfTheyHaveDifferentTiles

      @Test @DisplayName("When comparing two tile decks, they have different hash codes if they have different tiles") void whenComparingTwoTileDecksTheyHaveDifferentHashCodesIfTheyHaveDifferentTiles()