Move functions for packing/unpacking UL_TTI.request

Add unitary test for UL_TTI.request ( test pack/unpack, free, copy and compare )

Add function rand32_range
This commit is contained in:
Rúben Soares Silva
2024-11-29 09:15:03 +01:00
committed by Robert Schmidt
parent 0653c38a9d
commit 75f213ea92
7 changed files with 1107 additions and 643 deletions
+5
View File
@@ -81,6 +81,11 @@ uint16_t rand16_range(uint16_t lower, uint16_t upper)
return (rand() % (upper - lower + 1)) + lower;
}
uint32_t rand32_range(uint32_t lower, uint32_t upper)
{
return (rand() % (upper - lower + 1)) + lower;
}
int main(int n, char *v[]);
static inline void fapi_test_init_seeded(time_t seed)