예제 #1
0
 def test_valid_percents(self):
     for value in [1.0, 0.0, 1, 0, 0.5, 0.333081348071397813987230871]:
         models.validate_percent(value)
예제 #2
0
 def test_valid_percents(self):
     for value in [1.0, 0.0, 1, 0, 0.5, 0.333081348071397813987230871]:
         models.validate_percent(value)