From b30e1f47363f9b378c5860182ca570d66687488f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 11 Feb 2017 11:09:42 -0500 Subject: Add some tests for the operators themselves --- tests/test_a.out | 2 ++ tests/test_and.out | 2 ++ tests/test_bang.out | 16 ++++++++++++++++ tests/test_implicit_and.out | 2 ++ tests/test_not.out | 16 ++++++++++++++++ tests/test_o.out | 13 +++++++++++++ tests/test_or.out | 13 +++++++++++++ tests/test_precedence.out | 4 ++++ 8 files changed, 68 insertions(+) create mode 100644 tests/test_a.out create mode 100644 tests/test_and.out create mode 100644 tests/test_bang.out create mode 100644 tests/test_implicit_and.out create mode 100644 tests/test_not.out create mode 100644 tests/test_o.out create mode 100644 tests/test_or.out create mode 100644 tests/test_precedence.out (limited to 'tests') diff --git a/tests/test_a.out b/tests/test_a.out new file mode 100644 index 0000000..722962c --- /dev/null +++ b/tests/test_a.out @@ -0,0 +1,2 @@ +basic/k/foo +basic/l/foo diff --git a/tests/test_and.out b/tests/test_and.out new file mode 100644 index 0000000..722962c --- /dev/null +++ b/tests/test_and.out @@ -0,0 +1,2 @@ +basic/k/foo +basic/l/foo diff --git a/tests/test_bang.out b/tests/test_bang.out new file mode 100644 index 0000000..2501b2f --- /dev/null +++ b/tests/test_bang.out @@ -0,0 +1,16 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_implicit_and.out b/tests/test_implicit_and.out new file mode 100644 index 0000000..722962c --- /dev/null +++ b/tests/test_implicit_and.out @@ -0,0 +1,2 @@ +basic/k/foo +basic/l/foo diff --git a/tests/test_not.out b/tests/test_not.out new file mode 100644 index 0000000..2501b2f --- /dev/null +++ b/tests/test_not.out @@ -0,0 +1,16 @@ +basic +basic/a +basic/b +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/c/d +basic/e/f +basic/g/h +basic/k/foo/bar +basic/l/foo/bar +basic/l/foo/bar/baz diff --git a/tests/test_o.out b/tests/test_o.out new file mode 100644 index 0000000..9a82ee2 --- /dev/null +++ b/tests/test_o.out @@ -0,0 +1,13 @@ +basic +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/l/foo/bar diff --git a/tests/test_or.out b/tests/test_or.out new file mode 100644 index 0000000..9a82ee2 --- /dev/null +++ b/tests/test_or.out @@ -0,0 +1,13 @@ +basic +basic/c +basic/e +basic/g +basic/i +basic/j +basic/k +basic/l +basic/g/h +basic/j/foo +basic/k/foo +basic/l/foo +basic/l/foo/bar diff --git a/tests/test_precedence.out b/tests/test_precedence.out new file mode 100644 index 0000000..b3d7a51 --- /dev/null +++ b/tests/test_precedence.out @@ -0,0 +1,4 @@ +basic/k/foo +basic/l/foo +basic/k/foo/bar +basic/l/foo/bar/baz -- cgit v1.2.3