Browse Source

increase test coverage of _symbol_rate_real_to_floating_point

Fabian Peter Hammerle 3 years ago
parent
commit
b0b824da9b
1 changed files with 3 additions and 0 deletions
  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),
 ]