Commit graph

1924 commits

Author SHA1 Message Date
igoudt
b573d72883 added UT, fix small bug on Hour of Revelation 2017-07-02 13:08:03 +02:00
igoudt
a72fe69018 fixes #3537 2017-06-29 12:21:40 +02:00
igoudt
89b7d4e0e6 UT for #3550 2017-06-28 21:51:25 +02:00
igoudt
235443c04d UT for issue 3542 2017-06-27 21:26:08 +02:00
igoudt
5bcaafd738 implemented Afflict + simple HOU cards 2017-06-24 01:13:42 +02:00
igoudt
d63b241d54 implemented Eternalize Ability + Steadfast Sentinel 2017-06-19 01:03:12 +02:00
Derek Monturo
dcbea9e726 UTs for Machinations bug confirms issue #3499 2017-06-17 14:33:27 -04:00
LevelX2
dd1eff68fe * Bruna, Light of Alabester - Fixed that the auras could not be moved to Bruno if it had shroud. (fixes #3484). 2017-06-11 15:53:16 +02:00
LevelX2
5cfb496899 * Storm Cauldron - Fixed that it wrongly also returned cards to hand that already left the battlefield (fixes #3487). 2017-06-11 10:44:41 +02:00
LevelX2
a22e89d26a * Added test for spells targeting players continue resolving even when those players leave the game (closes #1600). Problem no longer reproducable. 2017-06-11 10:30:56 +02:00
LevelX2
0fd72c3010 * Added check if the deck was modified during sideboarding. 2017-06-05 20:23:09 +02:00
LevelX2
3c6ede7407 * Improved game is infinite loop check to ask players only if some kind of iteration is recognized. 2017-06-05 12:27:59 +02:00
Derek Monturo
2b25b53541 added nest of scarabs test for wither. unable to replicate #3402 2017-06-04 21:44:19 -04:00
igoudt
35ae9e316e test manatype on enum, not on string 2017-06-02 17:27:36 +02:00
igoudt
86bc25811d completed UT for 3443 2017-05-31 22:33:02 +02:00
igoudt
b0a6c76228 fixes 3443 2017-05-31 00:29:06 +02:00
LevelX2
9c773ba3cb * Vesuvan Shapeshifter - Fixed that copying creatures with morph and a turn face up trigger did not work correctly (fixes #2864). 2017-05-28 11:01:04 +02:00
igoudt
dca676617d fix crypt rats + added new test method 2017-05-27 09:17:08 +02:00
LevelX2
b4553641eb * Added UT for #2864 Vesuvan Shapeshifter turn face up bug. 2017-05-26 14:56:41 +02:00
Derek Monturo
79ed08b543 UT added for Jeleva casting SavageBeating. closes #3378 2017-05-25 01:20:32 -04:00
Derek Monturo
4cb3535f6f UT unable to reproduce reported bug with Decimator Beetle #3423 2017-05-25 00:52:38 -04:00
Derek Monturo
6e6d412535 UT for Lambholt replicating bug in #3427 2017-05-25 00:40:27 -04:00
igoudt
04afceebeb fix issue 3415 2017-05-24 12:48:46 +02:00
Derek M
0e38847c09 Merge pull request #3418 from drmDev/master
Soul conduit UT unable to confirm issue #3414
2017-05-23 12:51:49 -04:00
Derek Monturo
4b2be64366 Soul conduit UT unable to confirm issue #3414 2017-05-23 12:51:22 -04:00
LevelX2
1eb1a2abed * Transform - Fixed that a transform effect did only resolve, if the related permanent to transform was the same as the ability was put to stack (fixes #2912). 2017-05-23 17:26:16 +02:00
Derek Monturo
2292b18af8 another UT for CMC flip cards for #1904 2017-05-22 18:14:20 -04:00
igoudt
14148b1ac3 unittests for akh 2017-05-21 17:05:12 +02:00
LevelX2
9e78410fff Merge branch 'master' into subtypes 2017-05-21 10:50:47 +02:00
LevelX2
40f192eafc * Squelch - Fixed that it was causing a ClassCastException (fixes #3396). 2017-05-20 23:22:31 +02:00
igoudt
8ab4f5b454 finised all creaturetypes 2017-05-20 22:41:25 +02:00
Derek Monturo
9e78f216d1 only fixes 2 of 3 issues with Scarabs. infect damage not triggering it still for #3402 2017-05-20 09:47:30 -04:00
Derek Monturo
e7963de7c8 more scarabs tests 2017-05-20 09:24:45 -04:00
LevelX2
8b353d1b62 Added UT for #3400. 2017-05-20 09:49:39 +02:00
LevelX2
3cd63003c0 * Curse of Spite - Fixed that the effects of the curse were not correctly applied after the target player dies. (fixes #3401). 2017-05-20 09:30:23 +02:00
LevelX2
00ad7b5423 Merge origin/master 2017-05-19 17:51:32 +02:00
LevelX2
67a66d90da * Hapatra, Vizier of Poisons - Fixed that it was not triggering off of Infect (fixes #3288). 2017-05-19 17:51:04 +02:00
Simown
c53d3b392a Fixed Spirit Mirror and added tests. Fixes #3391 2017-05-18 23:19:18 +01:00
LevelX2
d686af8890 * Fixed a problem of endless iteration with Reflecting Pool. 2017-05-18 16:57:32 +02:00
LevelX2
1d438060fc * Fixed bug of any mana abilities not working correctly for mana abilities that could produce mana of any type other mana sources could produce. 2017-05-17 23:20:27 +02:00
LevelX2
6bf7a89d45 * Pithing Needle - Fixed a bug that it did not respect the players range (added UT for #3156 - not reproducable). 2017-05-17 17:52:31 +02:00
LevelX2
020c66c6a1 * Added UT for #3244. Not able to reproduce the problem. 2017-05-17 12:53:00 +02:00
LevelX2
d284cc08b1 * Reworked some not correct working dies replacement handling. 2017-05-16 22:36:56 +02:00
Derek M
af0eb13c13 Merge pull request #3386 from drmDev/master
fixed test to deal with infinite loop check
2017-05-16 13:30:10 -04:00
Derek Monturo
d805e05a68 fixed test to deal with infinite loop check 2017-05-16 13:28:51 -04:00
magenoxx
5650eb647e #3373: removed hand removing in MindbreakTrap test 2017-05-16 20:21:25 +03:00
LevelX2
0185bcb37e * Mogg Infestation - Fixed a problem with counting also commanders noz gong to graveyard. 2017-05-16 17:40:43 +02:00
LevelX2
5ce813ad87 * Added a simple check for infinite loops so that if players confirm the game ends in a draw (#3329). 2017-05-16 14:45:30 +02:00
Derek Monturo
179626016c naga vitalist UT unable to reproduce issue. closes #3315 2017-05-15 16:03:49 -04:00
magenoxx
f40ad9cadf #3373: added reproducing test for Mindreak Trap multi target issue 2017-05-15 19:37:49 +03:00
Simown
096701cd1e Added and updated tests for attacker/blocker test assertions 2017-05-14 23:18:55 +01:00
Simown
f97fc6f708 Updated TestPlayer + Tests to deal with duplicate initial turns 2017-05-14 23:18:44 +01:00
Simown
5431895ad8 Attacker/blocker checks in the test API 2017-05-14 23:18:03 +01:00
Derek Monturo
a4776b3f4d adjusted New Perspectives tests 2017-05-13 23:00:05 -04:00
Derek M
e5a69134c8 Merge pull request #3371 from drmDev/master
minor adjustments to new perspectives test
2017-05-13 13:13:32 -04:00
Derek Monturo
2d91ee49cf minor adjustments to new perspectives test 2017-05-13 13:12:59 -04:00
Derek Monturo
0fbc86be47 adjusting tests for #3359. also consolidated kalitas test to here 2017-05-13 12:38:07 -04:00
magenoxx
f912ee6213 Fixed incorrect NewPrespectives test. 3 Mountains caused New Perspectives discard instead of cast. 2017-05-13 17:10:16 +03:00
ingmargoudt
05349be8c3 Merge pull request #3366 from ingmargoudt/unittests
Unittests
2017-05-13 00:32:41 +02:00
igoudt
5c3a1c0c72 extra tests for kiraGreatGlassSpinner 2017-05-12 23:14:47 +02:00
Derek Monturo
91d24b0e31 UTs for #3323 and #3252 confirming bugs 2017-05-12 16:52:30 -04:00
igoudt
056c0613a2 UT for Final Punishment to cover the DamagedReceivedThisTurnWatcher 2017-05-12 22:47:35 +02:00
igoudt
7d905d39ca BontuTheGlorified unittests 2017-05-12 22:47:35 +02:00
Derek Monturo
f992c212eb modified incendiary flow test for #3359 2017-05-12 15:33:08 -04:00
Derek Monturo
29da3a3114 UTs for issue #3359 duplicating issue 2017-05-12 10:37:25 -04:00
Derek Monturo
5ee5b9f417 minor typo 2017-05-11 19:09:47 -04:00
Derek Monturo
77749d7fb1 another UT for #3345 unable to duplicate issue with celebrant exerting twice in same turn 2017-05-11 19:07:15 -04:00
Derek Monturo
ddf879ee4a added UT for Witchbane bug #3326 confirming issue 2017-05-11 14:37:48 -04:00
Derek Monturo
3089e0386c fixed UT for martyr bond 2017-05-11 13:21:13 -04:00
Derek Monturo
a5fa52b605 UTs for shelldock. duplicating bug reported in #3310 2017-05-11 11:53:55 -04:00
Derek Monturo
b196f06b1c minor edit 2017-05-10 15:44:39 -04:00
Derek Monturo
88108e03c3 UT duplicating bug in #3332 martyr bond 2017-05-10 15:43:47 -04:00
Derek Monturo
5fb08958f2 UT for #3328 unable to duplicate issue with priv position 2017-05-10 15:08:36 -04:00
LevelX2
c731a10360 Added a unit test. 2017-05-09 17:01:20 +02:00
Simown
c393fbcc1f Added unit test for changeling issue #3316
- Is not a bug with Kaseto rather the changeling being a snake creature
2017-05-06 21:14:40 +01:00
Derek M
0e76c2a225 Merge pull request #3317 from drmDev/ut/hapatra
added UTs for Hapatra bug #3288
2017-05-06 13:49:58 -04:00
Derek Monturo
be1f4acac5 added UTs for Hapatra bug #3288 2017-05-06 13:49:15 -04:00
LevelX2
afb7de2fbb * Gitrog Monster - Fixed that triggered ability was not handled correctly after a control change (fixes #3251). 2017-05-06 11:49:49 +02:00
LevelX2
795218b030 * Roi Elemental - Fixed triggered ability that did not work correctly for copied Roi Elementals (fixes #3214). 2017-05-06 10:19:04 +02:00
Simown
9ae0c31ee1 Updated failing Gitrog Monster test description 2017-05-05 23:54:12 +01:00
Simown
da3a3ec875 Attacker/blocker indexing fix - updated TestPlayer and unit tests 2017-05-05 23:53:58 +01:00
Derek M
03237aa2fe Merge pull request #3295 from ingmargoudt/triumph_hordes_unittest
Triumph hordes unittest
2017-05-03 07:53:47 -04:00
Derek M
8278b1bb2f Merge pull request #3294 from ingmargoudt/splitcard_cmc
fix cascade for splitcards
2017-05-03 07:51:08 -04:00
igoudt
566966bf6b fix and test for triumph of the hordes 2017-05-03 11:02:23 +02:00
igoudt
9da97f9368 fix cascade for splitcards 2017-05-03 09:51:22 +02:00
Derek Monturo
7b245668f7 UT for nest of scarabs issue, replicating bug #3174 2017-05-01 22:34:11 -04:00
igoudt
576ccdb34a fix broke shadowOfTheGrave + watcher 2017-05-01 17:31:51 +02:00
ingmargoudt
12eb4c2fb7 Merge branch 'master' into move_magepermanent_method 2017-04-28 19:29:20 +02:00
LevelX2
26e81ab26d * Added UT for #3251. 2017-04-28 15:41:38 +02:00
igoudt
2c34870bf0 remove util function on converted manacost, make getColorIdentity default interface method 2017-04-27 10:57:48 +02:00
drmDev
abcc34432e added comments noting tests currently failing and their associated issues 2017-04-26 20:20:26 -04:00
LevelX2
837940b78d * Added UT for #3055 - Not able to reproduce. 2017-04-26 15:03:45 +02:00
drmDev
0c16207332 fixed UT for #3195. misinterpretted ruling. closing #3195 2017-04-26 00:05:12 -04:00
drmDev
04746c5f4f Unit test confirming issue #3195 allowing Celebrant to attack while exerted 2017-04-25 22:07:51 -04:00
LevelX2
80beebccf5 * Fixed a problem of EndTurnEffect not beeing able to remove stackAbilities and endless looping as a result (fixes #3221). 2017-04-25 21:30:45 +02:00
LevelX2
60cc3a7622 * Some minor fixed and log changes. 2017-04-25 17:37:38 +02:00
Jeff
11af70f714 - Updated UT for Layers. 2017-04-24 17:03:23 -05:00
Derek Monturo
32cd4cc57d test for #3195 combat celebrant. ut framework does not support testing this scenario 2017-04-24 16:27:45 -04:00
Jeff
2c617ae652 - Updated UT for Auratouched Mage 2017-04-24 10:37:17 -05:00
Clint Herron
56ce1abb44 Unit tests for Blood Moon + Urborg interaction (#3216)
* Adding unit tests for Blood Moon + Urborg, Tomb of Yawgmoth interaction as per issue #3072 and #2957.  These tests fail expected, confirming those bug reports.

* Re-adding line that was accidentally deleted from other unit test.

* Cleaning up unit tests a bit more and removing leftover code I had missed the first time.
2017-04-22 21:36:01 -05:00
LevelX2
900e7b29ba XMage 1.4.23V2 2017-04-23 01:57:26 +02:00
Simown
35549bac52 Fixed unit test that swapped the attacker and blocker
- Also now is a 2/2 blocking a 1/1 so no more confusion
2017-04-22 14:52:16 +01:00
LevelX2
3f8b193da6 * Added UT: Cojutai's Command, returning Baral + counter creature won't trigger baral's ability (#3202). Bug is not reproducable yet. 2017-04-22 10:25:00 +02:00
Achilles
c943774e6f - A simple UT for Bug #3072. Will expand later. 2017-04-21 20:40:40 -05:00
LevelX2
4c4d78c2e1 * Added UT: Channeler Initiate did not get it's -1/-1 counters when reanimated with Supernatural Stamina. Bug is not reproducable yet. 2017-04-22 01:05:46 +02:00
Jeff
da6b5cae53 - Added test for Selvala, Heart of the Wilds 2017-04-21 16:54:46 -05:00
Jeff
978cb04209 - Added @Ignore to a specific test. Works fine in the game. 2017-04-21 14:02:31 -05:00
LevelX2
5d2c210d36 * Added Celestial Convergence and some changes to game draw handling. 2017-04-21 15:27:22 +02:00
LevelX2
e284922017 * Added Celestial Convergence and some changes to game draw handling. 2017-04-21 15:18:04 +02:00
Simown
8e028a1c32 Updated and added blocking requirements unit tests 2017-04-20 20:33:16 +01:00
Simown
354ca1c062 Fix to TestPlayer blocking multiple creatures 2017-04-20 20:33:16 +01:00
Derek Monturo
3246bd4551 UT suite for cruel reality, unable to confirm issue #3191 2017-04-20 15:30:00 -04:00
drmDev
20468d168b UTs for exert. confirms fixes #3183 2017-04-20 04:33:34 -04:00
drmDev
23834a061c adjusted phases - was using dif one for testing 2017-04-20 00:43:46 -04:00
drmDev
0e95e39748 UTs duplicating glyphkeeper issue #3180 2017-04-20 00:38:32 -04:00
Derek M
a098718405 Merge pull request #3186 from drmDev/ut-cleanup
UT cleanup to note which ones are currently failing
2017-04-19 23:37:17 -04:00
drmDev
43af2e503c UT cleanup to note which ones are currently failing and associtaed issues in github fo rthem 2017-04-19 23:36:19 -04:00
Simown
1a46435664 Fixed blocking in the Unit Test Framework 2017-04-19 21:53:20 +01:00
LevelX2
0b827b239c * Fixed the handling of comparing characteristics concerning split cards (related to the recent rule changes). 2017-04-19 12:36:46 +02:00
Derek M
4fc47b163a Merge pull request #3172 from drmDev/ut/lillydm
UT confirming bug #3165
2017-04-18 23:40:57 -04:00
drmDev
97d60a940c add type checking 2017-04-18 23:40:19 -04:00
drmDev
cb70af6f50 UT confirming bug for #3165 2017-04-18 23:38:08 -04:00
drmDev
513f5dfb7d UT confirming bug #3167 2017-04-18 23:36:00 -04:00
fireshoes
b3fb142998 Added Split Card CMC tests for recent rule change. 2017-04-18 21:14:14 -05:00
Jeff
91342cc350 - Fixed the DiscardTest. 2017-04-18 16:48:48 -05:00
magenoxx
f5fe2bd133 Issue#3148: added reproducing test 2017-04-18 23:28:42 +03:00
magenoxx
0ea2ce12bf #3144: EmbalmTest that reproduces bug. 2017-04-18 21:13:32 +03:00
magenoxx
784a4b8089 #3153: fixed flashback test by specifying correct target order 2017-04-18 17:33:58 +03:00
LevelX2
fb6bd25d85 * Soulstinger - Fixed a bug that a -1/-1 counter was put on target even if Soulstinger had no counters on it. 2017-04-17 20:11:01 +02:00
Derek Monturo
c1bc3b0bc2 ut for #3132 confirming issue with dread return 2017-04-17 11:51:52 -04:00
Derek Monturo
15fba941ef fixes #3124 and unit test for #3125 duplicating issue 2017-04-17 11:11:48 -04:00
LevelX2
ef4cf90a0f Release 1.4.23V0 2017-04-17 10:53:59 +02:00
Mark Langen
6912e45310 Merge branch 'master' of https://github.com/magefree/mage 2017-04-08 20:03:57 -06:00
Mark Langen
f96a1532bf Add Approach of the Second Sun [AKH] + test 2017-04-08 20:03:23 -06:00
drmDev
b7c903fc55 #3075 ut does not confirm bug with behind scenes 2017-04-08 13:16:35 -04:00
Mark Langen
40870f22c2 Added a bunch of spoiled cards for 4/5
* Added Colossapede
* Added Cut // Ribbons
* Added Insult // Injury (+test)
* Added Mouth // Feed
* Added Pouncing Cheetah
* Added Scarab Feast
* Added Rags // Riches (+test)
2017-04-05 22:41:56 -06:00
Mark Langen
a2e8cedd02 Merge branch 'master' into akh-card-frame 2017-04-04 18:36:37 -06:00
Mark Langen
7a6b8a1540 Final Aftermath implementation stuff
* Fixed PlayerImpl::getPlayable() to support aftermath (Needs PLAY_FROM_NOT_OWN_HAND_ZONE at the granularity of each card half rather than the whole card)
* Added tests for Dusk // Dawn to make sure there are no regressions on Aftermath.
2017-04-04 18:28:30 -06:00
ingmargoudt
ff6d1541c3 clientcallbacks to enums 2017-04-04 21:52:15 +02:00
Derek Monturo
eec4c07726 #3048 unit test for vexing devil redirect planeswalker interaction. unable to duplicate issue 2017-04-04 10:50:14 -04:00
LevelX2
45818f3a51 * Celestial Dawn - Fixed that it was not possible to pay colorless costs with non white mana. 2017-04-04 15:32:39 +02:00
Mark Langen
a96a7f89f5 Work in progress changes for Amonket Aftermath ability.
* Card Rendering has support for Aftermath Split card frames
* Card Rendering has support for Split cards
* Aftermath ability work in progress
2017-04-03 04:15:25 -06:00
ingmargoudt
211d433ea9 playertype, enum singleton 2017-04-02 22:09:20 +02:00
Derek M
b19170f34f Merge pull request #3045 from SickBoyWi/master
Implemented Soul Burn card for the two sets it's a part of: Ice Age a…
2017-04-02 12:17:32 -04:00
LevelX2
097a8ce0dd Some rework to end turn logic and removing of stack objects (related to #2977). 2017-04-02 15:18:50 +02:00
LevelX2
15c1c7f8c0 * Fixed a problem with flashback ability and variable non mana costs (related to #2436). 2017-04-02 10:11:25 +02:00
ingmargoudt
594ffa2754 rewrote some streams and optionals 2017-04-01 22:45:40 +02:00
LevelX2
d0bf77cedf * Fixed a problem with replacement effects that add counters were applied more than once to the same EnteresTheBattlefield event (fixes #2872). 2017-04-01 17:43:17 +02:00
Johnny.Hastings@gmail.com
2be3f20320 Implemented Soul Burn card for the two sets it's a part of: Ice Age and Invasion. 2017-03-31 18:33:17 -05:00
LevelX2
94f77675ec * Reverted NykthosDevotion test commented out lines. 2017-04-01 00:53:47 +02:00