We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c098c commit 9fd6974Copy full SHA for 9fd6974
commpy/channelcoding/tests/test_convcode.py
@@ -8,10 +8,6 @@
8
from commpy.channelcoding.convcode import Trellis, conv_encode, viterbi_decode
9
10
11
-def setup():
12
- seed(17121996)
13
-
14
15
class TestConvCode(object):
16
17
@classmethod
@@ -135,12 +131,14 @@ def test_viterbi_decode(self):
135
131
136
132
@dec.slow
137
133
def test_conv_encode_viterbi_decode(self):
134
+ # Set seed
+ seed(17121996)
+
138
niters = 10
139
blocklength = 1000
140
141
for n in range(niters):
142
msg = randint(0, 2, blocklength)
143
- print(msg)
144
145
# Previous tests
146
for i in range(len(self.trellis)):
0 commit comments