@@ -18,9 +18,9 @@ def test_incorrect_length(self) -> None:
1818 def test_encoding_648_r12 (self ) -> None :
1919 # comparing encodings with reference implementation by: https://github.com/tavildar/LDPC
2020 info_bits = Bits (auto = np .genfromtxt (
21- 'tests/test_data/ieee_802_11/info_bits_N648_R12.csv' , delimiter = ',' , dtype = np .int_ ))
21+ 'tests/test_data/ieee_802_11/info_bits_N648_R12.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
2222 encoded_ref = Bits (auto = np .genfromtxt (
23- 'tests/test_data/ieee_802_11/encoded_N648_R12.csv' , delimiter = ',' , dtype = np .int_ ))
23+ 'tests/test_data/ieee_802_11/encoded_N648_R12.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
2424 enc = EncoderWiFi (WiFiSpecCode .N648_R12 )
2525
2626 encoded = Bits ()
@@ -31,9 +31,9 @@ def test_encoding_648_r12(self) -> None:
3131 def test_encoding_648_r56 (self ) -> None :
3232 # comparing encodings with reference implementation by: https://github.com/tavildar/LDPC
3333 info_bits = Bits (auto = np .genfromtxt (
34- 'tests/test_data/ieee_802_11/info_bits_N648_R56.csv' , delimiter = ',' , dtype = np .int_ ))
34+ 'tests/test_data/ieee_802_11/info_bits_N648_R56.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
3535 encoded_ref = Bits (auto = np .genfromtxt (
36- 'tests/test_data/ieee_802_11/encoded_N648_R56.csv' , delimiter = ',' , dtype = np .int_ ))
36+ 'tests/test_data/ieee_802_11/encoded_N648_R56.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
3737 enc = EncoderWiFi (WiFiSpecCode .N648_R56 )
3838
3939 encoded = Bits ()
@@ -44,9 +44,9 @@ def test_encoding_648_r56(self) -> None:
4444 def test_encoding_1296_r23 (self ) -> None :
4545 # comparing encodings with reference implementation by: https://github.com/tavildar/LDPC
4646 info_bits = Bits (auto = np .genfromtxt (
47- 'tests/test_data/ieee_802_11/info_bits_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ ))
47+ 'tests/test_data/ieee_802_11/info_bits_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
4848 encoded_ref = Bits (auto = np .genfromtxt (
49- 'tests/test_data/ieee_802_11/encoded_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ ))
49+ 'tests/test_data/ieee_802_11/encoded_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
5050 enc = EncoderWiFi (WiFiSpecCode .N1296_R23 )
5151
5252 encoded = Bits ()
@@ -57,9 +57,9 @@ def test_encoding_1296_r23(self) -> None:
5757 def test_encoding_1944_r34 (self ) -> None :
5858 # comparing encodings with reference implementation by: https://github.com/tavildar/LDPC
5959 info_bits = Bits (auto = np .genfromtxt (
60- 'tests/test_data/ieee_802_11/info_bits_N1944_R34.csv' , delimiter = ',' , dtype = np .int_ ))
60+ 'tests/test_data/ieee_802_11/info_bits_N1944_R34.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
6161 encoded_ref = Bits (auto = np .genfromtxt (
62- 'tests/test_data/ieee_802_11/encoded_N1944_R34.csv' , delimiter = ',' , dtype = np .int_ ))
62+ 'tests/test_data/ieee_802_11/encoded_N1944_R34.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
6363 enc = EncoderWiFi (WiFiSpecCode .N1944_R34 )
6464
6565 encoded = Bits ()
@@ -79,9 +79,9 @@ def test_incorrect_length(self) -> None:
7979
8080 def test_decoder_648_r12 (self ) -> None :
8181 info_bits = Bits (auto = np .genfromtxt (
82- 'tests/test_data/ieee_802_11/info_bits_N648_R12.csv' , delimiter = ',' , dtype = np .int_ ))
82+ 'tests/test_data/ieee_802_11/info_bits_N648_R12.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
8383 encoded_ref = Bits (auto = np .genfromtxt (
84- 'tests/test_data/ieee_802_11/encoded_N648_R12.csv' , delimiter = ',' , dtype = np .int_ ))
84+ 'tests/test_data/ieee_802_11/encoded_N648_R12.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
8585 p = 0.01
8686
8787 corrupted = BitArray (encoded_ref )
@@ -104,9 +104,9 @@ def test_decoder_648_r12(self) -> None:
104104
105105 def test_ms_decoder_1296_r23 (self ) -> None :
106106 info_bits = Bits (auto = np .genfromtxt (
107- 'tests/test_data/ieee_802_11/info_bits_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ ))
107+ 'tests/test_data/ieee_802_11/info_bits_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
108108 encoded_ref = Bits (auto = np .genfromtxt (
109- 'tests/test_data/ieee_802_11/encoded_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ ))
109+ 'tests/test_data/ieee_802_11/encoded_N1296_R23.csv' , delimiter = ',' , dtype = np .int_ )) # type: ignore
110110 p = 0.01
111111
112112 corrupted = BitArray (encoded_ref )
0 commit comments