Skip to content

Commit a3fb61f

Browse files
gh-101: Add test suite.
1 parent f97af22 commit a3fb61f

1,254 files changed

Lines changed: 7086 additions & 1553 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
run: .\build.ps1
2020

2121
- name: Run tests
22-
run: .\prefix.exe .\tests\test2.pre
22+
run: .\tests\test.ps1

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ against that DLL's import library, and compiles each discovered extension
55
against the same shared runtime.
66
77
Requires: run from a Developer Command Prompt for Visual Studio where cl.exe is on PATH.
8-
Usage (from Prefix-C folder):
8+
Usage (from Prefix folder):
99
powershell -ExecutionPolicy Bypass -File .\build.ps1
1010
#>
1111

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BOOL: b = TRUE
2+
ABS(b)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
STR: s = 'not-a-number'
2+
ABS(s)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ADD(0d1, 0d1.0)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
MAP: x = <"v" = 0d1>
2+
MAP: a = @x
3+
4+
MAP: x = @a
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
INT: t = 0d1
2+
FREEZE(t)
3+
4+
INT: p = @t
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALL()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AND(TRUE, TRUE, TRUE)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AND()

0 commit comments

Comments
 (0)