Exemplo n.º 1
0
 def test_low_percent_float(self):
     eq_('6.3', str(round_percent(6.299)))
Exemplo n.º 2
0
 def test_high_percent_float(self):
     eq_('90', str(round_percent(90.3456)))
Exemplo n.º 3
0
 def test_low_percent_int(self):
     eq_('6.0', str(round_percent(6)))
Exemplo n.º 4
0
 def test_high_percent_int(self):
     eq_('90', str(round_percent(90)))
Exemplo n.º 5
0
 def test_low_percent_float(self):
     eq_('6.3', str(round_percent(6.299)))
Exemplo n.º 6
0
 def test_low_percent_int(self):
     eq_('6.0', str(round_percent(6)))
Exemplo n.º 7
0
 def test_high_percent_float(self):
     eq_('90', str(round_percent(90.3456)))
Exemplo n.º 8
0
 def test_high_percent_int(self):
     eq_('90', str(round_percent(90)))