Skip to content

Commit 1e0a046

Browse files
committed
Remove test_wifi80211.py that was based on unreliable previous tests.
1 parent 055ae3a commit 1e0a046

File tree

2 files changed

+3
-50
lines changed

2 files changed

+3
-50
lines changed

commpy/tests/test_modulation.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ def check_BER(modem, EbN0dB, BERs_expected):
145145

146146
def do_qam(self, modem):
147147
EbN0dB = arange(8, 25, 4)
148-
nb_pam = sqrt(modem.m)
149-
BERs_expected = 2 * (1 - 1 / nb_pam) / log2(nb_pam) * \
150-
Qfunc(sqrt(3 * log2(nb_pam) / (nb_pam ** 2 - 1) * (2 * 10 ** (EbN0dB / 10))))
148+
nb_symb_pam = sqrt(modem.m)
149+
BERs_expected = 2 * (1 - 1 / nb_symb_pam) / log2(nb_symb_pam) * \
150+
Qfunc(sqrt(3 * log2(nb_symb_pam) / (nb_symb_pam ** 2 - 1) * (2 * 10 ** (EbN0dB / 10))))
151151
self.check_BER(modem, EbN0dB, BERs_expected)
152152

153153
def do_psk(self, modem):

commpy/tests/test_wifi80211.py

-47
This file was deleted.

0 commit comments

Comments
 (0)