15 lines
244 B
C++
15 lines
244 B
C++
|
#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;
|
||
|
}
|