mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-21 20:40:47 +02:00
17 lines
529 B
Python
17 lines
529 B
Python
from __future__ import annotations
|
|
|
|
from deck_builder.combos import detect_combos
|
|
|
|
|
|
def test_detect_expanded_pairs():
|
|
names = [
|
|
"Isochron Scepter",
|
|
"Dramatic Reversal",
|
|
"Basalt Monolith",
|
|
"Rings of Brighthearth",
|
|
"Some Other Card",
|
|
]
|
|
combos = detect_combos(names, combos_path="config/card_lists/combos.json")
|
|
found = {(c.a, c.b) for c in combos}
|
|
assert ("Isochron Scepter", "Dramatic Reversal") in found
|
|
assert ("Basalt Monolith", "Rings of Brighthearth") in found
|