Skip to content

Commit

Permalink
Add missing test files
Browse files Browse the repository at this point in the history
  • Loading branch information
DavePearce committed Dec 9, 2024
1 parent e38f456 commit 4c5948f
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testdata/alias_01.accepts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{"COUNTER": [0]}
{"COUNTER": [0,0]}
{"COUNTER": [0,0,0]}
3 changes: 3 additions & 0 deletions testdata/alias_01.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(defcolumns COUNTER)
(defalias CT COUNTER)
(defconstraint heartbeat () CT)
8 changes: 8 additions & 0 deletions testdata/alias_01.rejects
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{"COUNTER": [1]}
{"COUNTER": [1]}
{"COUNTER": [0,1]}
{"COUNTER": [1,0]}
{"COUNTER": [1,1]}
{"COUNTER": [0,0,1]}
{"COUNTER": [0,1,0]}
{"COUNTER": [1,0,0]}
38 changes: 38 additions & 0 deletions testdata/constant_04.rejects
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{"X": [-1], "Y": [0], "Z": [0]}
{"X": [-1], "Y": [1], "Z": [1]}
{"X": [-1], "Y": [2], "Z": [0]}
{"X": [-1], "Y": [3], "Z": [1]}
{"X": [0], "Y": [1], "Z": [1]}
{"X": [0], "Y": [2], "Z": [0]}
{"X": [0], "Y": [3], "Z": [1]}
{"X": [1], "Y": [0], "Z": [0]}
{"X": [1], "Y": [2], "Z": [0]}
{"X": [1], "Y": [3], "Z": [1]}
{"X": [2], "Y": [0], "Z": [0]}
{"X": [2], "Y": [1], "Z": [1]}
{"X": [2], "Y": [3], "Z": [1]}
{"X": [3], "Y": [0], "Z": [0]}
{"X": [3], "Y": [1], "Z": [1]}
{"X": [3], "Y": [2], "Z": [0]}
{"X": [4], "Y": [1], "Z": [1]}
{"X": [4], "Y": [2], "Z": [0]}
{"X": [4], "Y": [3], "Z": [1]}
{"X": [5], "Y": [0], "Z": [0]}
{"X": [5], "Y": [2], "Z": [0]}
{"X": [5], "Y": [3], "Z": [1]}
{"X": [6], "Y": [0], "Z": [0]}
{"X": [6], "Y": [1], "Z": [1]}
{"X": [6], "Y": [3], "Z": [1]}
{"X": [7], "Y": [0], "Z": [0]}
{"X": [7], "Y": [1], "Z": [1]}
{"X": [7], "Y": [2], "Z": [0]}
{"X": [-1], "Y": [-1], "Z": [1]}
{"X": [0], "Y": [-1], "Z": [1]}
{"X": [1], "Y": [-1], "Z": [1]}
{"X": [2], "Y": [-1], "Z": [1]}
{"X": [3], "Y": [-1], "Z": [1]}
{"X": [-1], "Y": [5], "Z": [1]}
{"X": [0], "Y": [5], "Z": [1]}
{"X": [1], "Y": [5], "Z": [1]}
{"X": [2], "Y": [5], "Z": [1]}
{"X": [3], "Y": [5], "Z": [1]}
6 changes: 6 additions & 0 deletions testdata/constant_05.rejects
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"CT": [1,0]}
{"CT": [2,0]}
{"CT": [0,2]}
{"CT": [0,3]}
{"CT": [0,0,2]}
{"CT": [0,1,3]}
12 changes: 12 additions & 0 deletions testdata/constant_06.rejects
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ "X": [0], "Y": [1] }
{ "X": [0], "Y": [2] }
{ "X": [1], "Y": [0] }
{ "X": [1], "Y": [2] }
{ "X": [2], "Y": [0] }
{ "X": [2], "Y": [1] }
{ "X": [2], "Y": [2] }
{ "X": [2], "Y": [3] }
{ "X": [1,1], "Y": [1,2] }
{ "X": [1,1], "Y": [2,1] }
{ "X": [2,2], "Y": [2,4] }
{ "X": [2,2], "Y": [4,2] }

0 comments on commit 4c5948f

Please sign in to comment.