Skip to content

Commit c5d14a9

Browse files
committed
test: add tests
1 parent a5ad716 commit c5d14a9

4 files changed

Lines changed: 30 additions & 0 deletions

File tree

tests/functional/prepro81.bi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#define SCREEN_W1 5
2+
3+
#if SCREEN_W == 5
4+
LET a$ = "test"
5+
#endif
6+
7+

tests/functional/prepro81.out

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#line 1 "prepro81.bi"
2+
3+
4+
#line 6 "prepro81.bi"
5+
6+

tests/functional/prepro82.bi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#define SCREEN_W "5"
2+
3+
#if SCREEN_W == "5"
4+
REM testº
5+
PRINT "test"
6+
#endif
7+
8+

tests/functional/prepro82.out

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#line 1 "prepro82.bi"
2+
3+
4+
5+
6+
PRINT "test"
7+
#line 7 "prepro82.bi"
8+
9+

0 commit comments

Comments
 (0)