コード例 #1
0
ファイル: common_test.py プロジェクト: gitter-badger/piony
 def test_non(self):
     assert iround(0, 90) == 0
     assert iround(180, 90) == 180
コード例 #2
0
ファイル: common_test.py プロジェクト: gitter-badger/piony
 def test_neg(self):
     assert iround(-83, 90) == -90
     assert iround(-180, 90) == -180
コード例 #3
0
ファイル: common_test.py プロジェクト: gitter-badger/piony
 def test_equ(self):
     assert iround(86, 90) == 90
     assert iround(115, 90) == 90