mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
25 lines
362 B
C++
25 lines
362 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
Value v = 1;
|
|
String s = v;
|
|
DUMP(v.Is<ValueArray>());
|
|
DUMP(v.Is<int>());
|
|
|
|
DUMP(v == 1);
|
|
DUMP(v == 1.1);
|
|
DUMP(v == White());
|
|
|
|
v = White();
|
|
DUMP(v == White());
|
|
DUMP(v == Blue());
|
|
// DUMP(v == 1);
|
|
|
|
Color c = Black();
|
|
// Ref x = c;
|
|
// x = Value(Blue());
|
|
DUMP(c);
|
|
}
|