TelluricDeckay/ionic_deckhandler

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

Open

#3 opened on Aug 12, 2020

 (1 comment) (0 reactions) (0 assignees)Rust (0 forks)auto 404
good first issuetest

Repository metrics

Stars
 (2 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide