Skip to content

Commit

Permalink
increase tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
bejager committed May 24, 2024
1 parent ea2bfd4 commit 748b667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binding/python/test_orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _test_audio(self, pcm: Sequence[int], ground_truth: Sequence[int]) -> None:
pcm = pcm[:len(ground_truth)] # compensate for discrepancies due to wav header
self.assertEqual(len(pcm), len(ground_truth))
for i in range(len(pcm)):
self.assertAlmostEqual(pcm[i], ground_truth[i], delta=500)
self.assertAlmostEqual(pcm[i], ground_truth[i], delta=1000)

def _test_equal_timestamp(self, timestamp: float, timestamp_truth: float) -> None:
self.assertAlmostEqual(timestamp, timestamp_truth, places=2)
Expand Down

0 comments on commit 748b667

Please sign in to comment.