Deck is a library that models and manipulates a simulated deck of cards.
Read the Quick Start Guide to learn how to use Deck.
For detailed usage, read the API Documentation
Testing can be done in one of two ways. Manually on any system, or in Xcode on macOS.
First, ensure submodules are up-to-date with:
git submodule update --init
Unit tests can be invoked directly from Xcode using the test feature. For more information, see Apple's documentation
Deck uses the testing framework µnit. As µnit is part of the repository, running the tests is very simple.
Then, the tests can be invoked from make
using:
make test
Q: Why would I need Deck?
A: Because who doesn't enjoy poker night?