From 377eb52b86e9821298d4cdd659d4ce22a00abd61 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 8 Sep 2021 23:14:19 +0200 Subject: [PATCH] band_helper_test: add TC for band n5 --- lib/src/common/test/band_helper_test.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/src/common/test/band_helper_test.cc b/lib/src/common/test/band_helper_test.cc index 290129c17..bde96fd2b 100644 --- a/lib/src/common/test/band_helper_test.cc +++ b/lib/src/common/test/band_helper_test.cc @@ -33,6 +33,11 @@ int bands_test_nr() // b32 b75 TESTASSERT(bands.nr_arfcn_to_freq(290400) == 1452.0e6); TESTASSERT(bands.nr_arfcn_to_freq(294400) == 1472.0e6); + // b5 + TESTASSERT(bands.get_duplex_mode(5) == SRSRAN_DUPLEX_MODE_FDD); + TESTASSERT(bands.nr_arfcn_to_freq(176300) == 881.5e6); + TESTASSERT(bands.get_ul_arfcn_from_dl_arfcn(176300) == 167300); + TESTASSERT(bands.nr_arfcn_to_freq(167300) == 836.5e6); // b3 TESTASSERT(bands.nr_arfcn_to_freq(342000) == 1710.0e6); TESTASSERT(bands.nr_arfcn_to_freq(348000) == 1740.0e6);