Пример #1
0
def test_round():
    assert StatisticUpdater._round([('NX enabled', 1696)], 1903) == 0.89122
Пример #2
0
 def test_round(self):
     self.assertEqual(StatisticUpdater._round([('NX enabled', 1696)], 1903),
                      0.89122)