summaryrefslogtreecommitdiffstats
path: root/tests/conv/conv_gsm0503_test.c
blob: 67041290e015ae83c0d6c85cd252bcd6d403ff9e (plain)
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
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

#include <osmocom/core/bits.h>
#include <osmocom/core/conv.h>
#include <osmocom/core/utils.h>
#include <osmocom/gsm/gsm0503.h>

#include "conv.h"

/* Forward declaration of GSM 05.03 specific test vectors */
extern const struct conv_test_vector gsm0503_vectors[];
extern const int gsm0503_vectors_len;

int main(int argc, char *argv[])
{
	int rc, i;

	for (i = 0; i < gsm0503_vectors_len; i++) {
		rc = do_check(&gsm0503_vectors[i]);
		if (rc)
			return rc;
	}

	return 0;
}