mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
added subtraction logic to enough()
+ added subornation logic to enough(). We do not want to mix the public subtract() call with this method. As doing so would mean that either a) subtraction can go below 0 (this should not happen) or b) we break this function with exceptions. This is a work around for these scenarios.
This commit is contained in:
parent
2c617a6aaf
commit
05b841577a
2 changed files with 7 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package org.mage.test.mana;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import mage.Mana;
|
||||
import mage.constants.ColoredManaSymbol;
|
||||
import mage.constants.ManaType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue