diff --git a/tests/test_configs.py b/tests/test_configs.py new file mode 100644 index 0000000..7d5c0c1 --- /dev/null +++ b/tests/test_configs.py @@ -0,0 +1,6 @@ +from amodem import config + + +def test_bitrates(): + for rate, cfg in sorted(config.bitrates.items()): + assert rate * 1000 == cfg.modem_bps