diff --git a/lib/src/phy/phch/test/prach_test_usrp.c b/lib/src/phy/phch/test/prach_test_usrp.c index 23f5b5e61..fe8418e8d 100644 --- a/lib/src/phy/phch/test/prach_test_usrp.c +++ b/lib/src/phy/phch/test/prach_test_usrp.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -368,6 +369,12 @@ int main(int argc, char** argv) srslte_rf_close(&rf); srslte_prach_free(&prach); + TESTASSERT(count == nof_repetitions); + TESTASSERT(delay_us_max - delay_us_min < 0.5); + TESTASSERT(isnormal(peak_min)); + TESTASSERT(isnormal(peak_max)); + TESTASSERT(peak_max < peak_min * 2); + printf("Done\n"); exit(0); }