mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
16 lines
252 B
C++
16 lines
252 B
C++
#include "globals.h"
|
|
#include "bytes.h"
|
|
#include <assert.h>
|
|
|
|
int main(int argc, const char* argv[])
|
|
{
|
|
BitAccumulator ba;
|
|
|
|
ba.reset();
|
|
ba.push(0x1e, 5);
|
|
assert((std::vector<uint8_t>)ba == std::vector<uint8_t>{ 0x1e });
|
|
|
|
return 0;
|
|
}
|
|
|