stuff-from-scratch/test/compression/TestStreamCompressor.cpp

15 lines
244 B
C++
Raw Normal View History

2022-08-01 15:14:14 +00:00
#include <iostream>
#include "HuffmanEncoder.h"
int main()
{
std::string testData = "BCAADDDCCACACAC";
std::vector<unsigned char> stream(testData.begin(), testData.end());
HuffmanEncoder encoder;
encoder.encode(stream);
return 0;
}