diff options
Diffstat (limited to 'tests/edge/EdgeTest.cpp')
-rw-r--r-- | tests/edge/EdgeTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/edge/EdgeTest.cpp b/tests/edge/EdgeTest.cpp index 02e9bc20..80997a4b 100644 --- a/tests/edge/EdgeTest.cpp +++ b/tests/edge/EdgeTest.cpp @@ -92,7 +92,8 @@ static void check_coding_scheme(GprsCodingScheme& cs, GprsCodingScheme::Mode mod OSMO_ASSERT(cs.isFamilyCompatible(new_cs)); OSMO_ASSERT(cs.isCompatible(new_cs)); if (need_padding) { - OSMO_ASSERT(new_cs.maxDataBlockBytes() > cs.maxDataBlockBytes()); + OSMO_ASSERT(new_cs.maxDataBlockBytes() == + new_cs.optionalPaddingBits()/8 + cs.maxDataBlockBytes()); } else { OSMO_ASSERT(new_cs.maxDataBlockBytes() == cs.maxDataBlockBytes()); } |