mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 02:31:41 +00:00
More tests and fixes (unary, binary, globals)
This commit is contained in:
46
tests/compiler/literals.ts
Normal file
46
tests/compiler/literals.ts
Normal file
@ -0,0 +1,46 @@
|
||||
0;
|
||||
1;
|
||||
2;
|
||||
3;
|
||||
4;
|
||||
5;
|
||||
6;
|
||||
7;
|
||||
8;
|
||||
9;
|
||||
0x0;
|
||||
0x1;
|
||||
0x2;
|
||||
0x3;
|
||||
0x4;
|
||||
0x5;
|
||||
0x6;
|
||||
0x7;
|
||||
0x8;
|
||||
0x9;
|
||||
0xA;
|
||||
0xB;
|
||||
0xC;
|
||||
0xD;
|
||||
0xE;
|
||||
0xF;
|
||||
0xa;
|
||||
0xb;
|
||||
0xc;
|
||||
0xd;
|
||||
0xe;
|
||||
0xf;
|
||||
0o0;
|
||||
0o1;
|
||||
0o2;
|
||||
0o3;
|
||||
0o4;
|
||||
0o5;
|
||||
0o6;
|
||||
0o7;
|
||||
0b0;
|
||||
0b1;
|
||||
true;
|
||||
false;
|
||||
NaN;
|
||||
Infinity;
|
Reference in New Issue
Block a user