Measure real CPU VAD on complete frozen media pool
This commit is contained in:
1 parent
bc47e14971
commit
7a6ab9fc6a
6 files changed
+152
-4
No files matched your search
@@ -37,7 +37,7 @@ class NativeContract(unittest.TestCase):
|
||||
self.assertGreaterEqual(report[key], 0)
|
||||
|
||||
def test_invalid_pcm(self):
|
||||
for data in (b"", b"x", struct.pack("<f", float("nan")), struct.pack("<f", 2)):
|
||||
for data in (b"", b"x", struct.pack("<f", float("nan")), struct.pack("<f", float("inf"))):
|
||||
with self.subTest(data=data):
|
||||
result = self.run_pcm(data)
|
||||
self.assertEqual(result.returncode, 2)
|
||||
|
||||
Reference in new issue
Block a user