Esempio n. 1
0
 def test_from_percent_comparison(self):
     # both represents 0.9%, but they should not be equal
     assert Range('AKo') != Range.from_percent(0.9)
Esempio n. 2
0
 def test_from_percent_comparison(self):
     # both represents 0.9%, but they should not be equal
     assert Range("AKo") != Range.from_percent(0.9)
Esempio n. 3
0
 def test_from_percent(self):
     assert Range.from_percent(0.9) == Range('KK+')
Esempio n. 4
0
 def test_from_percent(self):
     assert Range.from_percent(0.9) == Range("KK+")