summaryrefslogtreecommitdiffstats
path: root/tests/conv/conv_test.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/conv: separate test logicVadim Yanitskiy2017-03-061-152/+8
| | | | | | | | To be able to add some more tests, related to convolutional coding, without duplication of code, the test logic was separated from the conv_test.c into conv.c and conv.h. Change-Id: Idbdc7e19cb9b9a36cd1fccd621cd858e87530d98
* tests/conv: whitespece fixVadim Yanitskiy2017-01-161-1/+1
| | | | Change-Id: I73ab4614c5c23390862d3ecaa2561a6749604a15
* tests/conv: add LTE PBCH test vectorVadim Yanitskiy2017-01-161-0/+60
| | | | Change-Id: I1a3a48bba9ee32a0bacc0b05d25358496dbcbc1b
* Add code generator for convolutional codesMax Suraev msuraev@sysmocom.de2016-04-291-194/+89
| | | | | | | | | | | | | | | | Add python utility to generate .c code with convolutional encoder/decoder based on polynomial description of the code. If argument given it'll be interpreted as intended output directory, otherwise current working directory is used. Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual implementations are removed from tests. This introduce build-time dependency on python. The main work for this patch was generously contributed by Sylvain Munaut. Fixes: OS#1629
* Add ubit <-> sbit convertorsMax2016-04-121-21/+2
| | | | | Move functions for conversion between soft and unpacked bits to main library as they are generally useful.
* tests: Fix warningsJacob Erlbeck2013-10-081-0/+2
| | | | | | This fixes warnings that are raised by missing includes, missing casts, missing return statements, using printf %lu with uint64_t, and unused symbols.
* conv: Fix main() of conv_test to compile with clang.Jacob Erlbeck2013-08-141-1/+2
| | | | | | | | | | Fix type of argument 'argv'. Addresses: conv/conv_test.c:358:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char argv[])
* core/conv: Add regression testing codeSylvain Munaut2011-11-241-0/+486
It tests both a given test vector encoding/decoding, and some random coding/decoding cycles. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>