def test_leq3_03(self): levels = [0, 0, 0.1] leq3 = audiocalc.leq3(levels) self.assertEqual(leq3, 0.0)
def test_leq3_01(self): levels = [30, 30, 30] leq3 = audiocalc.leq3(levels) self.assertAlmostEqual(leq3, 30, places=4)