Add integration tests

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2024-09-25 11:42:51 -07:00
parent 38a2064b08
commit f020155453
6 changed files with 271 additions and 0 deletions

75
tests/int.npp.expect Normal file
View File

@@ -0,0 +1,75 @@
10
20
__add__
2
6
2419
30
30
__sub__
-1
1
-10
-85986
-10
10
__mul__
1
-1
-1
0
0
65536
16
998001
200
40000
__div__
1
0
2
121
0
0
2
__gt__
false
true
true
false
false
false
__ge__
false
true
true
false
true
true
__lt__
true
false
false
true
false
false
__le__
true
false
true
true
true
true
__pos__
1
1
10
10
__neg__
-1
1
-1
1
30
-30
10