1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
|
Testing generation of GSM0808 messages
test_gsm0808_enc_cause: encoded: 04 01 41 (rc = 3)
test_gsm0808_enc_cause: encoded: 04 02 80 41 (rc = 4)
Testing creating Layer3
Testing creating Layer3 (AoIP)
Testing creating Reset
Testing creating Reset Ack
Testing creating Clear Command
Testing creating Clear Complete
Testing creating Chipher Mode Command
Testing creating Cipher Complete
Testing creating Cipher Reject
Testing creating Cipher Reject (extended)
Testing creating CM U
Testing creating SAPI Reject
Testing creating Assignment Request
Testing creating Assignment Request with Kc and LCLS
Testing creating Assignment Complete
Testing creating Assignment Complete (AoIP)
Testing creating Assignment Failure
Testing creating Assignment Failure (AoIP)
Testing creating Clear Request
Testing creating Paging Request
Testing creating DTAP
Testing prepend DTAP
Testing Global Call Reference IE encoder...
15 bytes added: OK
decoded 15 bytes: OK
test_gsm0808_enc_dec_cell_id_list_lac: encoded: 1a 07 05 01 24 ab cd 56 78 (rc = 9)
------- test_cell_id_list_add
cell_id_list == CGI[0]:{}
gsm0808_cell_id_list_add(&cil, &lac1) --> rc = 1
cell_id_list == LAC[1]:{123}
gsm0808_cell_id_list_add(&cil, &lac1) --> rc = 0
cell_id_list == LAC[1]:{123}
gsm0808_cell_id_list_add(&cil, &lac2) --> rc = 2
cell_id_list == LAC[3]:{123, 456, 789}
gsm0808_cell_id_list_add(&cil, &lac2) --> rc = 0
cell_id_list == LAC[3]:{123, 456, 789}
gsm0808_cell_id_list_add(&cil, &cil) --> rc = 0
cell_id_list == LAC[3]:{123, 456, 789}
gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = -22
cell_id_list == LAC[3]:{123, 456, 789}
* can't add to BSS list
cell_id_list == BSS[0]
gsm0808_cell_id_list_add(&cil, &lac1) --> rc = -22
cell_id_list == BSS[0]
* other types (including NO_CELL) take on new type iff empty
cell_id_list == NO-CELL[0]
gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = 1
cell_id_list == CGI[1]:{001-02-3-4}
gsm0808_cell_id_list_add(&cil, &cgi1) --> rc = 0
cell_id_list == CGI[1]:{001-02-3-4}
gsm0808_cell_id_list_add(&cil, &cgi2) --> rc = 2
cell_id_list == CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}
gsm0808_cell_id_list_add(&cil, &cgi2) --> rc = 0
cell_id_list == CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}
* test gsm0808_cell_id_list_name_buf()'s return val
strlen(gsm0808_cell_id_list_name(cil)) == 45
gsm0808_cell_id_list_name_buf(buf, 46, cil)) == 45 "CGI[3]:{001-02-3-4, 001-002-3-4, 005-006-7-8}"
gsm0808_cell_id_list_name_buf(buf, 23, cil)) == 45 "CGI[3]:{001-02-3-4, 00"
gsm0808_cell_id_list_name_buf(buf, 11, cil)) == 45 "CGI[3]:{00"
gsm0808_cell_id_list_name_buf(buf, 5, cil)) == 45 "CGI["
gsm0808_cell_id_list_name_buf(buf, 2, cil)) == 45 "C"
gsm0808_cell_id_list_name_buf(buf, 1, cil)) == 45 ""
gsm0808_cell_id_list_name_buf(buf, 0, cil)) == 45 "#"
* list-full behavior
cil.id_list_len = 126
gsm0808_cell_id_list_add(&cil, &cgi2a) --> rc = 1
cil.id_list_len = 127
cil.id_list_len = 126
gsm0808_cell_id_list_add(&cil, &cgi3) --> rc = -28
cil.id_list_len = 127
gsm0808_cell_id_list_add(&cil, &cgi2a) --> rc = -28
cil.id_list_len = 127
------- test_cell_id_list_add done
test_gsm0808_enc_dec_cell_id_lac: encoded: 05 03 05 01 24 (rc = 5)
test_gsm0808_enc_dec_cell_id_bss: encoded: 05 01 06 (rc = 3)
test_gsm0808_enc_dec_cell_id_no_cell: encoded: 05 01 03 (rc = 3)
test_gsm0808_enc_dec_cell_id_lai_and_lac: encoded: 05 06 04 21 63 54 23 42 (rc = 8)
test_gsm0808_enc_dec_cell_id_ci: encoded: 05 03 02 04 23 (rc = 5)
test_gsm0808_enc_dec_cell_id_lac_and_ci: encoded: 05 05 01 04 23 02 35 (rc = 7)
test_gsm0808_enc_dec_cell_id_global: encoded: 05 08 00 21 63 54 23 42 04 23 (rc = 10)
Testing gsm0808_sc_cfg_from_gsm48_mr_cfg():
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 0000 = 0b0000000000000000
Result (hr):
S15-S0 = 0000 = 0b0000000000000000
Input:
m4_75= 1 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 5703 = 0b0101011100000011
Result (hr):
S15-S0 = 0703 = 0b0000011100000011
Input:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 0000 = 0b0000000000000000
Result (hr):
S15-S0 = 0000 = 0b0000000000000000
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 1 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 5706 = 0b0101011100000110
Result (hr):
S15-S0 = 0706 = 0b0000011100000110
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 1 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 1608 = 0b0001011000001000
Result (hr):
S15-S0 = 0608 = 0b0000011000001000
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 1 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 0412 = 0b0000010000010010
Result (hr):
S15-S0 = 0412 = 0b0000010000010010
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 1
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 4020 = 0b0100000000100000
Result (hr):
S15-S0 = 0020 = 0b0000000000100000
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 1
m12_2= 0
Result (fr):
S15-S0 = 1040 = 0b0001000001000000
Result (hr):
S15-S0 = 0000 = 0b0000000000000000
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 1
Result (fr):
S15-S0 = 4082 = 0b0100000010000010
Result (hr):
S15-S0 = 0002 = 0b0000000000000010
Input:
m4_75= 1 smod= 0
m5_15= 1 spare= 0
m5_90= 1 icmi= 0
m6_70= 1 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 570f = 0b0101011100001111
Result (hr):
S15-S0 = 070f = 0b0000011100001111
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 1 ver= 0
m7_95= 1
m10_2= 1
m12_2= 1
Result (fr):
S15-S0 = 54f2 = 0b0101010011110010
Result (hr):
S15-S0 = 0432 = 0b0000010000110010
Input:
m4_75= 0 smod= 0
m5_15= 0 spare= 0
m5_90= 1 icmi= 0
m6_70= 1 nscb= 0
m7_40= 0 ver= 0
m7_95= 0
m10_2= 1
m12_2= 1
Result (fr):
S15-S0 = 57ce = 0b0101011111001110
Result (hr):
S15-S0 = 070e = 0b0000011100001110
Input:
m4_75= 1 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 0
m6_70= 0 nscb= 0
m7_40= 1 ver= 0
m7_95= 1
m10_2= 0
m12_2= 0
Result (fr):
S15-S0 = 5733 = 0b0101011100110011
Result (hr):
S15-S0 = 0733 = 0b0000011100110011
Input:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 0
m6_70= 1 nscb= 0
m7_40= 0 ver= 0
m7_95= 1
m10_2= 0
m12_2= 1
Result (fr):
S15-S0 = 56aa = 0b0101011010101010
Result (hr):
S15-S0 = 062a = 0b0000011000101010
Input:
m4_75= 1 smod= 0
m5_15= 0 spare= 0
m5_90= 1 icmi= 0
m6_70= 0 nscb= 0
m7_40= 1 ver= 0
m7_95= 0
m10_2= 1
m12_2= 0
Result (fr):
S15-S0 = 5757 = 0b0101011101010111
Result (hr):
S15-S0 = 0717 = 0b0000011100010111
Input:
m4_75= 1 smod= 0
m5_15= 1 spare= 0
m5_90= 1 icmi= 0
m6_70= 1 nscb= 0
m7_40= 1 ver= 0
m7_95= 1
m10_2= 1
m12_2= 1
Result (fr):
S15-S0 = 57ff = 0b0101011111111111
Result (hr):
S15-S0 = 073f = 0b0000011100111111
Testing gsm48_mr_cfg_from_gsm0808_sc_cfg():
Input:
S15-S0 = ff03 = 0b1111111100000011
Output:
m4_75= 1 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 0
m12_2= 0
Input:
S15-S0 = 0000 = 0b0000000000000000
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 0
m12_2= 0
Input:
S15-S0 = ff06 = 0b1111111100000110
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 1 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 0
m12_2= 0
Input:
S15-S0 = 3e08 = 0b0011111000001000
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 1 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 0
m12_2= 0
Input:
S15-S0 = 0c12 = 0b0000110000010010
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 1 ver= 1
m7_95= 0
m10_2= 0
m12_2= 0
Input:
S15-S0 = c020 = 0b1100000000100000
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 1
m10_2= 0
m12_2= 0
Input:
S15-S0 = 3040 = 0b0011000001000000
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 1
m12_2= 0
Input:
S15-S0 = c082 = 0b1100000010000010
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 0
m12_2= 1
Input:
S15-S0 = ff4b = 0b1111111101001011
Output:
m4_75= 1 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 1 nscb= 0
m7_40= 0 ver= 1
m7_95= 0
m10_2= 1
m12_2= 0
Input:
S15-S0 = fcd2 = 0b1111110011010010
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 1 ver= 1
m7_95= 0
m10_2= 1
m12_2= 1
Input:
S15-S0 = c0a2 = 0b1100000010100010
Output:
m4_75= 0 smod= 0
m5_15= 1 spare= 0
m5_90= 0 icmi= 1
m6_70= 0 nscb= 0
m7_40= 0 ver= 1
m7_95= 1
m10_2= 0
m12_2= 1
test_cell_id_matching
[0] LAC:23 LAC:23 MATCH
[0] LAC:23 LAC:23 MATCH exactly
[1] LAC:23 LAC:42 don't match
[1] LAC:23 LAC:42 don't match exactly
[2] LAC:23 CI:5 MATCH
[2] LAC:23 CI:5 don't match exactly
[3] LAC:23 CI:6 MATCH
[3] LAC:23 CI:6 don't match exactly
[4] LAC:23 LAC-CI:23-5 MATCH
[4] LAC:23 LAC-CI:23-5 don't match exactly
[5] LAC:23 LAC-CI:42-6 don't match
[5] LAC:23 LAC-CI:42-6 don't match exactly
[6] LAC:23 LAI:023-042-23 MATCH
[6] LAC:23 LAI:023-042-23 don't match exactly
[7] LAC:23 LAI:023-042-42 don't match
[7] LAC:23 LAI:023-042-42 don't match exactly
[8] LAC:23 LAI:023-99-23 MATCH
[8] LAC:23 LAI:023-99-23 don't match exactly
[9] LAC:23 LAI:023-42-23 MATCH
[9] LAC:23 LAI:023-42-23 don't match exactly
[10] LAC:23 CGI:023-042-23-5 MATCH
[10] LAC:23 CGI:023-042-23-5 don't match exactly
[11] LAC:23 CGI:023-042-42-6 don't match
[11] LAC:23 CGI:023-042-42-6 don't match exactly
[12] LAC:23 CGI:023-99-23-5 MATCH
[12] LAC:23 CGI:023-99-23-5 don't match exactly
[13] CI:5 LAC:23 MATCH
[13] CI:5 LAC:23 don't match exactly
[14] CI:5 LAC:42 MATCH
[14] CI:5 LAC:42 don't match exactly
[15] CI:5 CI:5 MATCH
[15] CI:5 CI:5 MATCH exactly
[16] CI:5 CI:6 don't match
[16] CI:5 CI:6 don't match exactly
[17] CI:5 LAC-CI:23-5 MATCH
[17] CI:5 LAC-CI:23-5 don't match exactly
[18] CI:5 LAC-CI:42-6 don't match
[18] CI:5 LAC-CI:42-6 don't match exactly
[19] CI:5 LAI:023-042-23 MATCH
[19] CI:5 LAI:023-042-23 don't match exactly
[20] CI:5 LAI:023-042-42 MATCH
[20] CI:5 LAI:023-042-42 don't match exactly
[21] CI:5 LAI:023-99-23 MATCH
[21] CI:5 LAI:023-99-23 don't match exactly
[22] CI:5 LAI:023-42-23 MATCH
[22] CI:5 LAI:023-42-23 don't match exactly
[23] CI:5 CGI:023-042-23-5 MATCH
[23] CI:5 CGI:023-042-23-5 don't match exactly
[24] CI:5 CGI:023-042-42-6 don't match
[24] CI:5 CGI:023-042-42-6 don't match exactly
[25] CI:5 CGI:023-99-23-5 MATCH
[25] CI:5 CGI:023-99-23-5 don't match exactly
[26] LAC-CI:23-5 LAC:23 MATCH
[26] LAC-CI:23-5 LAC:23 don't match exactly
[27] LAC-CI:23-5 LAC:42 don't match
[27] LAC-CI:23-5 LAC:42 don't match exactly
[28] LAC-CI:23-5 CI:5 MATCH
[28] LAC-CI:23-5 CI:5 don't match exactly
[29] LAC-CI:23-5 CI:6 don't match
[29] LAC-CI:23-5 CI:6 don't match exactly
[30] LAC-CI:23-5 LAC-CI:23-5 MATCH
[30] LAC-CI:23-5 LAC-CI:23-5 MATCH exactly
[31] LAC-CI:23-5 LAC-CI:42-6 don't match
[31] LAC-CI:23-5 LAC-CI:42-6 don't match exactly
[32] LAC-CI:23-5 LAI:023-042-23 MATCH
[32] LAC-CI:23-5 LAI:023-042-23 don't match exactly
[33] LAC-CI:23-5 LAI:023-042-42 don't match
[33] LAC-CI:23-5 LAI:023-042-42 don't match exactly
[34] LAC-CI:23-5 LAI:023-99-23 MATCH
[34] LAC-CI:23-5 LAI:023-99-23 don't match exactly
[35] LAC-CI:23-5 LAI:023-42-23 MATCH
[35] LAC-CI:23-5 LAI:023-42-23 don't match exactly
[36] LAC-CI:23-5 CGI:023-042-23-5 MATCH
[36] LAC-CI:23-5 CGI:023-042-23-5 don't match exactly
[37] LAC-CI:23-5 CGI:023-042-42-6 don't match
[37] LAC-CI:23-5 CGI:023-042-42-6 don't match exactly
[38] LAC-CI:23-5 CGI:023-99-23-5 MATCH
[38] LAC-CI:23-5 CGI:023-99-23-5 don't match exactly
[39] LAI:023-042-23 LAC:23 MATCH
[39] LAI:023-042-23 LAC:23 don't match exactly
[40] LAI:023-042-23 LAC:42 don't match
[40] LAI:023-042-23 LAC:42 don't match exactly
[41] LAI:023-042-23 CI:5 MATCH
[41] LAI:023-042-23 CI:5 don't match exactly
[42] LAI:023-042-23 CI:6 MATCH
[42] LAI:023-042-23 CI:6 don't match exactly
[43] LAI:023-042-23 LAC-CI:23-5 MATCH
[43] LAI:023-042-23 LAC-CI:23-5 don't match exactly
[44] LAI:023-042-23 LAC-CI:42-6 don't match
[44] LAI:023-042-23 LAC-CI:42-6 don't match exactly
[45] LAI:023-042-23 LAI:023-042-23 MATCH
[45] LAI:023-042-23 LAI:023-042-23 MATCH exactly
[46] LAI:023-042-23 LAI:023-042-42 don't match
[46] LAI:023-042-23 LAI:023-042-42 don't match exactly
[47] LAI:023-042-23 LAI:023-99-23 don't match
[47] LAI:023-042-23 LAI:023-99-23 don't match exactly
[48] LAI:023-042-23 LAI:023-42-23 don't match
[48] LAI:023-042-23 LAI:023-42-23 don't match exactly
[49] LAI:023-042-23 CGI:023-042-23-5 MATCH
[49] LAI:023-042-23 CGI:023-042-23-5 don't match exactly
[50] LAI:023-042-23 CGI:023-042-42-6 don't match
[50] LAI:023-042-23 CGI:023-042-42-6 don't match exactly
[51] LAI:023-042-23 CGI:023-99-23-5 don't match
[51] LAI:023-042-23 CGI:023-99-23-5 don't match exactly
[52] CGI:023-042-23-5 LAC:23 MATCH
[52] CGI:023-042-23-5 LAC:23 don't match exactly
[53] CGI:023-042-23-5 LAC:42 don't match
[53] CGI:023-042-23-5 LAC:42 don't match exactly
[54] CGI:023-042-23-5 CI:5 MATCH
[54] CGI:023-042-23-5 CI:5 don't match exactly
[55] CGI:023-042-23-5 CI:6 don't match
[55] CGI:023-042-23-5 CI:6 don't match exactly
[56] CGI:023-042-23-5 LAC-CI:23-5 MATCH
[56] CGI:023-042-23-5 LAC-CI:23-5 don't match exactly
[57] CGI:023-042-23-5 LAC-CI:42-6 don't match
[57] CGI:023-042-23-5 LAC-CI:42-6 don't match exactly
[58] CGI:023-042-23-5 LAI:023-042-23 MATCH
[58] CGI:023-042-23-5 LAI:023-042-23 don't match exactly
[59] CGI:023-042-23-5 LAI:023-042-42 don't match
[59] CGI:023-042-23-5 LAI:023-042-42 don't match exactly
[60] CGI:023-042-23-5 LAI:023-99-23 don't match
[60] CGI:023-042-23-5 LAI:023-99-23 don't match exactly
[61] CGI:023-042-23-5 LAI:023-42-23 don't match
[61] CGI:023-042-23-5 LAI:023-42-23 don't match exactly
[62] CGI:023-042-23-5 CGI:023-042-23-5 MATCH
[62] CGI:023-042-23-5 CGI:023-042-23-5 MATCH exactly
[63] CGI:023-042-23-5 CGI:023-042-42-6 don't match
[63] CGI:023-042-23-5 CGI:023-042-42-6 don't match exactly
[64] CGI:023-042-23-5 CGI:023-99-23-5 don't match
[64] CGI:023-042-23-5 CGI:023-99-23-5 don't match exactly
test_cell_id_list_matching(test match)
LAC:23 and LAC[2]:{42, 23}: MATCH at [1]
LAC:23 and CI[2]:{5, 6}: MATCH at [0]
LAC:23 and LAC-CI[2]:{42-6, 23-5}: MATCH at [1]
LAC:23 and LAI[4]:{023-042-42, 023-042-23, 023-99-23, 023-42-23}: MATCH at [1]
LAC:23 and CGI[3]:{023-042-42-6, 023-042-23-5, 023-99-23-5}: MATCH at [1]
CI:5 and LAC[2]:{23, 42}: MATCH at [0]
CI:5 and CI[2]:{6, 5}: MATCH at [1]
CI:5 and LAC-CI[2]:{42-6, 23-5}: MATCH at [1]
CI:5 and LAI[4]:{023-042-23, 023-042-42, 023-99-23, 023-42-23}: MATCH at [0]
CI:5 and CGI[3]:{023-042-42-6, 023-042-23-5, 023-99-23-5}: MATCH at [1]
LAC-CI:23-5 and LAC[2]:{42, 23}: MATCH at [1]
LAC-CI:23-5 and CI[2]:{6, 5}: MATCH at [1]
LAC-CI:23-5 and LAC-CI[2]:{42-6, 23-5}: MATCH at [1]
LAC-CI:23-5 and LAI[4]:{023-042-42, 023-042-23, 023-99-23, 023-42-23}: MATCH at [1]
LAC-CI:23-5 and CGI[3]:{023-042-42-6, 023-042-23-5, 023-99-23-5}: MATCH at [1]
LAI:023-042-23 and LAC[2]:{42, 23}: MATCH at [1]
LAI:023-042-23 and CI[2]:{5, 6}: MATCH at [0]
LAI:023-042-23 and LAC-CI[2]:{42-6, 23-5}: MATCH at [1]
LAI:023-042-23 and LAI[4]:{023-042-42, 023-99-23, 023-42-23, 023-042-23}: MATCH at [3]
LAI:023-042-23 and CGI[3]:{023-042-42-6, 023-99-23-5, 023-042-23-5}: MATCH at [2]
CGI:023-042-23-5 and LAC[2]:{42, 23}: MATCH at [1]
CGI:023-042-23-5 and CI[2]:{6, 5}: MATCH at [1]
CGI:023-042-23-5 and LAC-CI[2]:{42-6, 23-5}: MATCH at [1]
CGI:023-042-23-5 and LAI[4]:{023-042-42, 023-99-23, 023-42-23, 023-042-23}: MATCH at [3]
CGI:023-042-23-5 and CGI[3]:{023-042-42-6, 023-99-23-5, 023-042-23-5}: MATCH at [2]
test_cell_id_list_matching(test mismatch)
LAC:23 and LAC[1]:{42}: mismatch
LAC:23 vs. CI: No match_id entries to test mismatch
LAC:23 and LAC-CI[1]:{42-6}: mismatch
LAC:23 and LAI[1]:{023-042-42}: mismatch
LAC:23 and CGI[1]:{023-042-42-6}: mismatch
CI:5 vs. LAC: No match_id entries to test mismatch
CI:5 and CI[1]:{6}: mismatch
CI:5 and LAC-CI[1]:{42-6}: mismatch
CI:5 vs. LAI: No match_id entries to test mismatch
CI:5 and CGI[1]:{023-042-42-6}: mismatch
LAC-CI:23-5 and LAC[1]:{42}: mismatch
LAC-CI:23-5 and CI[1]:{6}: mismatch
LAC-CI:23-5 and LAC-CI[1]:{42-6}: mismatch
LAC-CI:23-5 and LAI[1]:{023-042-42}: mismatch
LAC-CI:23-5 and CGI[1]:{023-042-42-6}: mismatch
LAI:023-042-23 and LAC[1]:{42}: mismatch
LAI:023-042-23 vs. CI: No match_id entries to test mismatch
LAI:023-042-23 and LAC-CI[1]:{42-6}: mismatch
LAI:023-042-23 and LAI[3]:{023-042-42, 023-99-23, 023-42-23}: mismatch
LAI:023-042-23 and CGI[2]:{023-042-42-6, 023-99-23-5}: mismatch
CGI:023-042-23-5 and LAC[1]:{42}: mismatch
CGI:023-042-23-5 and CI[1]:{6}: mismatch
CGI:023-042-23-5 and LAC-CI[1]:{42-6}: mismatch
CGI:023-042-23-5 and LAI[3]:{023-042-42, 023-99-23, 023-42-23}: mismatch
CGI:023-042-23-5 and CGI[2]:{023-042-42-6, 023-99-23-5}: mismatch
Done
|