mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Completely re-implemented and tested Matchers for DeckRecognizer
The new DeckRecognizer implementation comes fully tested to check the new multiple line request format supported. The DeckRecognizer has been made very versatile for card recognition - supporting request with multiple formats - as well as for NON-CARD tokens including "Deck Name", "Deck Sections", and "Card (Core) Types". There is also integration for constraints imposed on card matching due to restrictions (in set) from Game Format, Deck Format (banned cards), and Date (Release Before). In those cases, new Token Types will be returned (i.e. "IllegalCard" and "InvalidCard", respectively) that could be pretty-printed or emphasised in DeckImport.
This commit is contained in:
1160
forge-gui-desktop/src/test/java/forge/deck/DeckRecognizerTest.java
Normal file
1160
forge-gui-desktop/src/test/java/forge/deck/DeckRecognizerTest.java
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user