Пример #1
0
 def test_math(self):
     seed = random.random()
     result = annotator.get_total_budget(seed)
     self.assertEqual(result, seed * 60)
Пример #2
0
 def test_is_float(self):
     result = annotator.get_total_budget(random.random())
     self.assertIsInstance(result, float)