diff --git a/autotest/ZeroLZ4/ZeroLZ4.cpp b/autotest/ZeroLZ4/ZeroLZ4.cpp new file mode 100644 index 000000000..8e8d6e0be --- /dev/null +++ b/autotest/ZeroLZ4/ZeroLZ4.cpp @@ -0,0 +1,13 @@ +#include +#include + +using namespace Upp; + +CONSOLE_APP_MAIN +{ + StdLogSetup(LOG_COUT|LOG_FILE); + String h = LZ4Compress(String()); + h = LZ4Decompress(h); + ASSERT(h.GetCount() == 0); + LOG("=============== OK"); +} diff --git a/autotest/ZeroLZ4/ZeroLZ4.upp b/autotest/ZeroLZ4/ZeroLZ4.upp new file mode 100644 index 000000000..639c1ad29 --- /dev/null +++ b/autotest/ZeroLZ4/ZeroLZ4.upp @@ -0,0 +1,10 @@ +uses + Core, + plugin/lz4; + +file + ZeroLZ4.cpp; + +mainconfig + "" = ""; + diff --git a/autotest/ZeroLZ4/init b/autotest/ZeroLZ4/init new file mode 100644 index 000000000..1a778c400 --- /dev/null +++ b/autotest/ZeroLZ4/init @@ -0,0 +1,5 @@ +#ifndef _ZeroLZ4_icpp_init_stub +#define _ZeroLZ4_icpp_init_stub +#include "Core/init" +#include "plugin/lz4/init" +#endif