示例#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)
示例#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)
示例#3
0
 def test_from_percent(self):
     assert Range.from_percent(0.9) == Range('KK+')
示例#4
0
 def test_from_percent(self):
     assert Range.from_percent(0.9) == Range("KK+")