Sfoglia il codice sorgente

increase test coverage of _symbol_rate_real_to_floating_point

Fabian Peter Hammerle 3 anni fa
parent
commit
b0b824da9b
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      tests/test_config.py

+ 3 - 0
tests/test_config.py

@@ -80,6 +80,9 @@ _SYMBOL_RATE_MANTISSA_EXPONENT_REAL_PARAMS = [
     (34, 12, 115051),
     (34, 12 + 1, 115051 * 2),
     (34, 12 - 1, 115051 / 2),
+    # > If DRATE_M is rounded to the nearest integer and becomes 256,
+    # > increment DRATE_E and use DRATE_M = 0.
+    (0, 13, 203124),
 ]