예제 #1
0
파일: test_matchers.py 프로젝트: ijiraq/MOP
 def test_round_sigfigs_more_than_input(self):
     assert_that(round_sigfigs(1234, 7), equal_to(1234.000))
예제 #2
0
파일: test_matchers.py 프로젝트: ijiraq/MOP
 def test_round_sigfigs_neg(self):
     assert_that(round_sigfigs(-1234, 3), equal_to(-1230.0))