SGSN_Tests: Introduce NUM_GB to avoid '3' as magic value

Change-Id: I28b7dd26c5c129ec41c6349de9ddc9ef0ffee8ac
This commit is contained in:
Harald Welte 2019-05-02 20:13:53 +02:00
parent f7191679aa
commit 2fa771f90d
1 changed files with 4 additions and 3 deletions

View File

@ -84,9 +84,10 @@ type record GbInstance {
BssgpConfig cfg
};
type record length(3) of GbInstance GbInstances;
type record length(3) of NSConfiguration NSConfigurations;
type record length(3) of BssgpCellId BssgpCellIds;
const integer NUM_GB := 3;
type record length(NUM_GB) of GbInstance GbInstances;
type record length(NUM_GB) of NSConfiguration NSConfigurations;
type record length(NUM_GB) of BssgpCellId BssgpCellIds;
type component test_CT {
var GbInstances g_gb;