<p><a href="https://gerrit.osmocom.org/c/gr-gsm/+/14945">View Change</a></p><p>6 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_bcch_ccch_demapper.py">File python/qa_gsm_bcch_ccch_demapper.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_bcch_ccch_demapper.py@6">Patch Set #1, Line 6:</a> <code style="font-family:monospace,monospace"> </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">ws</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_bcch_ccch_demapper.py@142">Patch Set #1, Line 142:</a> <code style="font-family:monospace,monospace">b[  0], b[  1], b[  2], b[  3],</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Any benefits of having such sequential notation?<br>This could be also done in an imperative way:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">  a = list(dst.get_burst_data())<br>  self.assertEqual(len(a), 108)<br>  for i in range(108):<br>    self.assertEqual(a[i], b[i])</pre></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_bcch_ccch_demapper.py@172">Patch Set #1, Line 172:</a> <code style="font-family:monospace,monospace">assertEqual</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same here, and even simpler.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_bcch_ccch_demapper.py@203">Patch Set #1, Line 203:</a> <code style="font-family:monospace,monospace">assertEqual</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same here.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_demapper_data.py">File python/qa_gsm_demapper_data.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_demapper_data.py@24">Patch Set #1, Line 24:</a> <code style="font-family:monospace,monospace">bursts</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This list can also be generated using a for loop.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14945/1/python/qa_gsm_demapper_data.py@150">Patch Set #1, Line 150:</a> <code style="font-family:monospace,monospace">timeslots</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Same here, just [0] * X, where X == len(timeslots).</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/gr-gsm/+/14945">change 14945</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/gr-gsm/+/14945"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: gr-gsm </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I33b0948832a0c2506bffd389cc134c3236c74d27 </div>
<div style="display:none"> Gerrit-Change-Number: 14945 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: vvvelichkov <vvvelichkov@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Piotr Krysik <ptrkrysik@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 26 Jul 2019 12:34:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>