mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 14:16:46 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@3969 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ccd85277a5
commit
983032afa8
3 changed files with 35 additions and 0 deletions
22
upptst/ValueArrayInsert/ValueArrayInsert.cpp
Normal file
22
upptst/ValueArrayInsert/ValueArrayInsert.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
ValueArray va;
|
||||
for(int i = 0; i < 10; i++)
|
||||
va.Add(i);
|
||||
LOG(va);
|
||||
|
||||
ValueArray va2 = va;
|
||||
va2.Remove(3, 3);
|
||||
LOG(va2);
|
||||
|
||||
va2.Insert(3, va2);
|
||||
LOG(va2);
|
||||
|
||||
va2.Append(va);
|
||||
LOG(va2);
|
||||
}
|
||||
|
||||
9
upptst/ValueArrayInsert/ValueArrayInsert.upp
Normal file
9
upptst/ValueArrayInsert/ValueArrayInsert.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
ValueArrayInsert.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "SSE2";
|
||||
|
||||
4
upptst/ValueArrayInsert/init
Normal file
4
upptst/ValueArrayInsert/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _ValueArrayInsert_icpp_init_stub
|
||||
#define _ValueArrayInsert_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue