Piotr Likoski
d2335c86b2
Base32::decode() cannot return boolean values.
1 year ago
Rafal Kupiec
a09c6b3fad
Fix for index outside the bounds.
1 year ago
Rafal Kupiec
4d150c2fe3
No way this is working!
1 year ago
Rafal Kupiec
c94de60c29
Properly implement tests.
1 year ago
Rafal Kupiec
4afcbc0815
Extend singleton test.
1 year ago
Rafal Kupiec
8ee2dece06
Test NULL-coalescing operator.
1 year ago
Rafal Kupiec
fffce10ba8
Test for implicitly typed declarations.
1 year ago
Rafal Kupiec
aff19a98da
Fibonacci sequence in AerScript implementation.
1 year ago
Rafal Kupiec
543191c1b2
New test for 'is' statement.
1 year ago
Rafal Kupiec
3715b1b53d
Extend the exception test.
1 year ago
Rafal Kupiec
101453950e
Execute the compiled 'finally' block.
1 year ago
Rafal Kupiec
84b5fd2717
Test 'finally' block compiler.
1 year ago
Rafal Kupiec
3184b95a09
Do not use 'self' construct referring to current class.
1 year ago
Rafal Kupiec
3689a0239a
Lets test access to derived attributes.
1 year ago
Rafal Kupiec
fd278b1f47
Test static class.
1 year ago
Rafal Kupiec
d924d41a7a
Do not unset $this.
Let the garbage collector do its job and fix the test.
1 year ago
Rafal Kupiec
675f3596a1
Properly look for method in all classes.
1 year ago
Rafal Kupiec
1175219ad4
Temporarily fix test.
1 year ago
Rafal Kupiec
d8db20e9bd
Do not use as variable name.
1 year ago
Rafal Kupiec
1f78547ca2
Convert DOS2UNIX.
1 year ago
Rafal Kupiec
55acf8111f
Assume private visibility for all class members by default.
In most (all?) modern OOP languages class members visibility is assumed to be private and programmer has to consciously set it to public or protected. PHP has the different approach what can cause a security flaws in written scripts. AerScript will not follow this way, as it seems to be conceptually broken.
1 year ago
Rafal Kupiec
c4416ef631
Fix singleton test.
1 year ago
Rafal Kupiec
76880ae4e2
Extend this test.
1 year ago
Rafal Kupiec
03c37c58bb
Add constants test.
1 year ago
Rafal Kupiec
9d84c558c4
New test for goto statement.
1 year ago
Rafal Kupiec
73c1a814f5
Test foreach() loop.
1 year ago
Rafal Kupiec
186e5887f6
We can now declare key and value variables inside a loop.
1 year ago
Rafal Kupiec
bbcd99789d
Fix test.
1 year ago
Rafal Kupiec
4d8d92092e
Refactor foreach() loop.
In AerScript, the foreach() loop is syntatically more similiar to C#, than PHP. However the optional '$key => $value' construct is still available, because arrays in AerScript are still a hashmaps.
1 year ago
Rafal Kupiec
10516fb655
Remove useless comments from BrainFuck tests.
1 year ago
Rafal Kupiec
2bda002259
Add missing variables declaration.
1 year ago
Rafal Kupiec
a7606864fa
Do not use broken foreach() loop in this test.
1 year ago
Rafal Kupiec
13ea9825b8
Bubble sort algorithm in AerScript.
1 year ago
Rafal Kupiec
8331d36869
Program to calculate Euler's Totient Function.
1 year ago
Rafal Kupiec
3f1d429d5f
The program code for printing Pascal’s Triangle.
1 year ago
Rafal Kupiec
16c6b8d970
Array subscription test.
1 year ago
Rafal Kupiec
80abccc3ad
This variable contains an array of booleans, really.
And if we managed to insert a boolean value to an array of chars, this means we have a bug somewhere.
1 year ago
Rafal Kupiec
0b04e0f7c5
Test program entry point.
1 year ago
Rafal Kupiec
f8a47d2838
Real life test - base32.
1 year ago
Rafal Kupiec
2aa25f66d5
They do not return any value.
1 year ago
Rafal Kupiec
58618a4d27
Add another test - constructor overloading.
1 year ago
Rafal Kupiec
9d97eb228a
Test a for() loop as well.
1 year ago
Rafal Kupiec
b668d0a897
Test do { ... } while(); loop.
1 year ago
Rafal Kupiec
102e8447a1
Formatting code.
1 year ago
Rafal Kupiec
ec580ddf8c
Path splitting test.
1 year ago
Rafal Kupiec
549b2ff3b4
Do not use 'elseif' construction.
1 year ago
Rafal Kupiec
a5da714d61
Test while loop.
1 year ago
Rafal Kupiec
2894c55dfa
Add some comments, to see if they are working.
1 year ago
Rafal Kupiec
0b11d59f9f
Remove this dirty hack.
This test should now work without it.
1 year ago
Rafal Kupiec
583f43e1f7
Convert carriage return and line feed to line feed (UNIX line ending).
1 year ago