Пример #1
0
 def test_round_sigfigs_more_than_input(self):
     assert_that(round_sigfigs(1234, 7), equal_to(1234.000))
Пример #2
0
 def test_round_sigfigs_neg(self):
     assert_that(round_sigfigs(-1234, 3), equal_to(-1230.0))