#include <boost/test/included/unit_test.hpp>
#include <cstdint>
#include <boost/chrono.hpp>
#include <boost/range/irange.hpp>
#include "framecpp/Common/CheckSum.hh"
◆ BOOST_TEST_MAIN
◆ cksum
◆ BOOST_AUTO_TEST_CASE() [1/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_4096_bytes |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_4096_bytes_2_stages |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_4096_bytes_no_extend |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_4096_bytes_reset |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_8589934592_bytes |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_constructor |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [7/7]
BOOST_AUTO_TEST_CASE |
( |
test_checksum_zero_bytes |
| ) |
|
◆ expected_value_ramped_4096()
◆ expected_value_zero_0()
◆ expected_value_zero_4096()
◆ expected_value_zero_8589934592()
◆ init_ramped_buffer()
bool init_ramped_buffer |
( |
| ) |
|
◆ process_buffer()
template<typename CRC >
void process_buffer |
( |
CRC & |
Accumulator, |
|
|
const uint8_t * |
Buffer, |
|
|
size_t |
BufferSize |
|
) |
| |
|
inline |
◆ process_buffer< CheckSumCRC >()
◆ process_n_buffers()
◆ ramped_buffer
uint8_t ramped_buffer[256] |
◆ ramped_buffer_initted