[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 04/05: digital: adapt clock recovery QA
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 04/05: digital: adapt clock recovery QA |
Date: |
Wed, 24 Sep 2014 22:04:58 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit e08e2b33f4e709d88040b50cd11b4c948a3de965
Author: Bastian Bloessl <address@hidden>
Date: Wed Sep 10 21:47:17 2014 +0200
digital: adapt clock recovery QA
---
gr-digital/python/digital/qa_clock_recovery_mm.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gr-digital/python/digital/qa_clock_recovery_mm.py
b/gr-digital/python/digital/qa_clock_recovery_mm.py
index 783770d..23c8a53 100755
--- a/gr-digital/python/digital/qa_clock_recovery_mm.py
+++ b/gr-digital/python/digital/qa_clock_recovery_mm.py
@@ -87,7 +87,7 @@ class test_clock_recovery_mm(gr_unittest.TestCase):
self.tb.connect(self.src, self.test, self.snk)
self.tb.run()
- expected_result = 100*[0.99972, ] # doesn't quite get to 1.0
+ expected_result = 100*[0.9997, ] # doesn't quite get to 1.0
dst_data = self.snk.data()
# Only compare last Ncmp samples
@@ -100,7 +100,7 @@ class test_clock_recovery_mm(gr_unittest.TestCase):
#print expected_result
#print dst_data
- self.assertFloatTuplesAlmostEqual(expected_result, dst_data, 5)
+ self.assertFloatTuplesAlmostEqual(expected_result, dst_data, 4)
def test03(self):
@@ -157,7 +157,7 @@ class test_clock_recovery_mm(gr_unittest.TestCase):
self.tb.connect(self.src, self.test, self.snk)
self.tb.run()
- expected_result = 1000*[-1.31, 1.31]
+ expected_result = 1000*[-1.2, 1.2]
dst_data = self.snk.data()
# Only compare last Ncmp samples