Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test for throning a feast. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amalloy
Copy link
Contributor

@amalloy amalloy commented Feb 8, 2014

I added a (failing) test for the behavior when playing Throne Room on Feast. The Feast should get trashed after gaining two Duchies, but instead it is discarded. I checked with Debug.Trace, and the player's Throne Room and Feast go into his discard pile instead of the trash; it would be nice to show that somehow in the test output, but this is my first time working with tests in haskell and I don't know how.

The fix for this is that (a) cards must go into the play area when played, and only get discarded at the end of a turn, during the cleanup phase, and (b) the Feast must get trashed at some point.

@egonSchiele
Copy link
Owner

Thanks! Let me fix this issue and then I'll merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants