Home
last modified time | relevance | path

Searched refs:minvalues (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_audioop.py14 minvalues = {w: -1 << (8 * w - 1) for w in (1, 2, 3, 4)} variable
43 self.assertEqual(audioop.max(p(minvalues[w]), w), -minvalues[w])
44 self.assertEqual(audioop.max(datas[w], w), -minvalues[w])
59 self.assertEqual(audioop.minmax(p(minvalues[w]), w),
60 (minvalues[w], minvalues[w]))
62 (minvalues[w], maxvalues[w]))
72 maxvalues[w] - minvalues[w])
85 self.assertEqual(audioop.avg(p(minvalues[w], minvalues[w]), w),
86 minvalues[w])
113 self.assertAlmostEqual(audioop.rms(p(minvalues[w]) * 5, w),
[all …]