示例#1
0
 def test_non(self):
     assert iround(0, 90) == 0
     assert iround(180, 90) == 180
示例#2
0
 def test_neg(self):
     assert iround(-83, 90) == -90
     assert iround(-180, 90) == -180
示例#3
0
 def test_equ(self):
     assert iround(86, 90) == 90
     assert iround(115, 90) == 90