Skip to content

Add a test for throning a feast. - #8

Open
amalloy wants to merge 1 commit into
egonSchiele:masterfrom
amalloy:master
Open

Add a test for throning a feast.#8
amalloy wants to merge 1 commit into
egonSchiele:masterfrom
amalloy:master

Conversation

@amalloy

@amalloy amalloy commented Feb 8, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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