mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10013 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a202a08425
commit
aadf1257fe
3 changed files with 28 additions and 0 deletions
13
autotest/ZeroLZ4/ZeroLZ4.cpp
Normal file
13
autotest/ZeroLZ4/ZeroLZ4.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#include <Core/Core.h>
|
||||
#include <plugin/lz4/lz4.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
String h = LZ4Compress(String());
|
||||
h = LZ4Decompress(h);
|
||||
ASSERT(h.GetCount() == 0);
|
||||
LOG("=============== OK");
|
||||
}
|
||||
10
autotest/ZeroLZ4/ZeroLZ4.upp
Normal file
10
autotest/ZeroLZ4/ZeroLZ4.upp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
uses
|
||||
Core,
|
||||
plugin/lz4;
|
||||
|
||||
file
|
||||
ZeroLZ4.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
5
autotest/ZeroLZ4/init
Normal file
5
autotest/ZeroLZ4/init
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#ifndef _ZeroLZ4_icpp_init_stub
|
||||
#define _ZeroLZ4_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#include "plugin/lz4/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue