示例#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)')
示例#2
0
 def should_format_half_mana(self):
     eq_(Symbol('Half a Red').textbox, '{Half R}')
示例#3
0
 def should_format_infinite(self):
     eq_(Symbol('Infinite').textbox, u'{∞}')
示例#4
0
 def should_format_x(self):
     eq_(Symbol('Variable Colorless').short, 'X')
示例#5
0
 def should_format_hybrid_colorless_mana(self):
     eq_(Symbol('Two or White').short, '(2/W)')
示例#6
0
 def should_preserve_all_numerals(self):
     eq_(Symbol('12').short, '12')
示例#7
0
 def should_format_show_mana(self):
     eq_(Symbol('Snow').textbox, '{S}')
示例#8
0
 def should_abbreviate_phyrexian_mana(self):
     eq_(Symbol('Phyrexian Black').short, '(B/P)')
示例#9
0
 def should_downcase_phyrexian_mana_in_textbox(self):
     eq_(Symbol('Phyrexian Blue').textbox, '{(u/p)}')
示例#10
0
 def should_format_for_textboxes(self):
     eq_(Symbol('Green').textbox, '{G}')
示例#11
0
 def should_downcase_hybrid_mana_in_textbox(self):
     eq_(Symbol('Blue or Black').textbox, '{(u/b)}')
示例#12
0
 def should_abbreviate_hybrid_mana(self):
     eq_(Symbol('Blue or Black').short, '(U/B)')
示例#13
0
 def should_abbreviate_untap(self):
     eq_(Symbol('Untap').short, 'Q')
示例#14
0
 def should_abbreviate_tap(self):
     eq_(Symbol('Tap').short, 'T')
示例#15
0
 def should_abbreviate_color_names(self):
     eq_(Symbol('Blue').short, 'U')
示例#16
0
 def should_abbreviate_color_names(self):
     eq_(Symbol('Green').short, 'G')