mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
added another example on how to check the result
This commit is contained in:
parent
479f5e0220
commit
d3b4529a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ int main()
|
|||
std::bitset<32> hw("00000010001001110111110100100100");
|
||||
for (size_t i = 0; i < hw.size(); ++i) crc(hw[i]);
|
||||
//std::cerr << "0x" << std::hex << crc() << std::endl;
|
||||
assert(!crc(uint16_t(0x915D)));
|
||||
assert(crc() == 0x915D);
|
||||
}
|
||||
if (1) {
|
||||
DSP::CRC<uint8_t> crc(0x8C);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue