mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@10421 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8e128bf68e
commit
2e83e3efa7
4 changed files with 24 additions and 8 deletions
15
autotest/Gtypes/Gtypes.cpp
Normal file
15
autotest/Gtypes/Gtypes.cpp
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
Rect r(2, 4, 6, 8);
|
||||
|
||||
ASSERT(r * 2 == Rect(4, 8, 12, 16));
|
||||
ASSERT(r / 2 == Rect(1, 2, 3, 4));
|
||||
|
||||
LOG("================= OK");
|
||||
}
|
||||
9
autotest/Gtypes/Gtypes.upp
Normal file
9
autotest/Gtypes/Gtypes.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
Gtypes.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#ifndef _RangeCoLoop_icpp_init_stub
|
||||
#define _RangeCoLoop_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#ifndef _util_fn_icpp_init_stub
|
||||
#define _util_fn_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue