summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gsm0408/gsm0408_test.c12
-rw-r--r--tests/gsm0408/gsm0408_test.ok10
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c
index aa6a8bee..ad455075 100644
--- a/tests/gsm0408/gsm0408_test.c
+++ b/tests/gsm0408/gsm0408_test.c
@@ -172,6 +172,18 @@ static struct gprs_ra_id test_ra_cap_items[] = {
.lac = 11,
.rac = 89,
},
+ {
+ .mcc = 0,
+ .mnc = 0,
+ .lac = 0,
+ .rac = 0,
+ },
+ {
+ .mcc = 999,
+ .mnc = 999,
+ .lac = 65535,
+ .rac = 255,
+ },
};
static void test_ra_cap(void)
diff --git a/tests/gsm0408/gsm0408_test.ok b/tests/gsm0408/gsm0408_test.ok
index a3d801de..dc19eeaa 100644
--- a/tests/gsm0408/gsm0408_test.ok
+++ b/tests/gsm0408/gsm0408_test.ok
@@ -12,3 +12,13 @@ Constructed RA:
MCC+MNC in BCD: 80 f4 89
084-98-11-89
RA test...passed
+Constructed RA:
+000-00-0-0
+MCC+MNC in BCD: 00 f0 00
+000-00-0-0
+RA test...passed
+Constructed RA:
+999-999-65535-255
+MCC+MNC in BCD: 99 99 99
+999-999-65535-255
+RA test...passed