Expand BSSGP helpers + codec to cover expansion + compaction
diff --git a/gprs_gb/Test.ttcn b/gprs_gb/Test.ttcn
index 88a78a8..33d43bf 100644
--- a/gprs_gb/Test.ttcn
+++ b/gprs_gb/Test.ttcn
@@ -9,7 +9,7 @@
function f_assert_prepr(in octetstring a, in octetstring b) {
log ("Input: ", a);
log ("Expected: ", b);
- var octetstring a_preprocessed := f_BSSGP_preprocess_pdu(a);
+ var octetstring a_preprocessed := f_BSSGP_expand_len(a);
log ("Preprocessed: ", a_preprocessed);
if (a_preprocessed != b) {
@@ -21,7 +21,7 @@
function f_dec_and_log(in octetstring inp) {
log("Input: ", inp);
- var octetstring inp_p := f_BSSGP_preprocess_pdu(inp);
+ var octetstring inp_p := f_BSSGP_expand_len(inp);
log ("Preprocessed: ", inp_p);
var BssgpPdu dec := dec_BssgpPdu(inp_p);
log("Decoded: ", dec);