Esempio n. 1
0
 def should_format_little_girl_mana_cost(self):
     # As far as I can tell, this is a bug in Gatherer affecting
     # one card: Little Girl.
     eq_(Symbol('500').short, '(Half W)')
Esempio n. 2
0
 def should_format_half_mana(self):
     eq_(Symbol('Half a Red').textbox, '{Half R}')
Esempio n. 3
0
 def should_format_infinite(self):
     eq_(Symbol('Infinite').textbox, u'{∞}')
Esempio n. 4
0
 def should_format_x(self):
     eq_(Symbol('Variable Colorless').short, 'X')
Esempio n. 5
0
 def should_format_hybrid_colorless_mana(self):
     eq_(Symbol('Two or White').short, '(2/W)')
Esempio n. 6
0
 def should_preserve_all_numerals(self):
     eq_(Symbol('12').short, '12')
Esempio n. 7
0
 def should_format_show_mana(self):
     eq_(Symbol('Snow').textbox, '{S}')
Esempio n. 8
0
 def should_abbreviate_phyrexian_mana(self):
     eq_(Symbol('Phyrexian Black').short, '(B/P)')
Esempio n. 9
0
 def should_downcase_phyrexian_mana_in_textbox(self):
     eq_(Symbol('Phyrexian Blue').textbox, '{(u/p)}')
Esempio n. 10
0
 def should_format_for_textboxes(self):
     eq_(Symbol('Green').textbox, '{G}')
Esempio n. 11
0
 def should_downcase_hybrid_mana_in_textbox(self):
     eq_(Symbol('Blue or Black').textbox, '{(u/b)}')
Esempio n. 12
0
 def should_abbreviate_hybrid_mana(self):
     eq_(Symbol('Blue or Black').short, '(U/B)')
Esempio n. 13
0
 def should_abbreviate_untap(self):
     eq_(Symbol('Untap').short, 'Q')
Esempio n. 14
0
 def should_abbreviate_tap(self):
     eq_(Symbol('Tap').short, 'T')
Esempio n. 15
0
 def should_abbreviate_color_names(self):
     eq_(Symbol('Blue').short, 'U')
Esempio n. 16
0
 def should_abbreviate_color_names(self):
     eq_(Symbol('Green').short, 'G')