Added error correction to the metadata of LDU1 and LDU2.

Refactored implementation of p25p1_ldu1.c and p25p1_ldu2.c. There are less duplicities now and hopefully is easier to read and maintain.
Added a unit test for the Hamming algorithm.
This commit is contained in:
EdFuentetaja
2014-03-31 23:37:08 +08:00
parent 20c55d073b
commit f8cd8d715f
17 changed files with 1594 additions and 612 deletions

View File

@@ -1,5 +1,10 @@
/**
* Unit tests for the Golay24 implementation.
*/
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "Golay24.hpp"
class Golay24Test : public testing::Test