TelluricDeckay/ionic_deckhandler

Add test to make sure there are no duplicates in the deck

Aperta

#3 aperta il 12 ago 2020

 (1 commento) (0 reazioni) (0 assegnatari)Rust (0 fork)auto 404
good first issuetest

Metriche repository

Star
 (2 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I think a useful test would be to make sure there are no duplicates (e. g., 5 of clubs and 5 of clubs) after the deck is shuffled, and that the deck still consists of 52 cards.

Duplicates are impossible with the current code, but the test will help if the code is ever changed.

Guida contributor