From 93e4bc17ebba15a00cfc0dd2dabf2babb3e45577 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Mon, 8 Apr 2013 20:23:51 -0400 Subject: [PATCH] Adding some basic testing in; more to come. --- tests/compilers/native/__init__.hy | 0 tests/compilers/native/quoting.hy | 9 +++++++++ tests/compilers/test_quoting.py | 1 + 3 files changed, 10 insertions(+) create mode 100644 tests/compilers/native/__init__.hy create mode 100644 tests/compilers/native/quoting.hy create mode 100644 tests/compilers/test_quoting.py diff --git a/tests/compilers/native/__init__.hy b/tests/compilers/native/__init__.hy new file mode 100644 index 0000000..e69de29 diff --git a/tests/compilers/native/quoting.hy b/tests/compilers/native/quoting.hy new file mode 100644 index 0000000..3c20bd2 --- /dev/null +++ b/tests/compilers/native/quoting.hy @@ -0,0 +1,9 @@ +;;; +;;; + +(import-from hy.models.expression HyExpression) +(import-from hy.models.symbol HySymbol) + + +(defn test-basic-quoting [] + (assert (= (type (quote (foo bar))) HyExpression))) diff --git a/tests/compilers/test_quoting.py b/tests/compilers/test_quoting.py new file mode 100644 index 0000000..fb83d8d --- /dev/null +++ b/tests/compilers/test_quoting.py @@ -0,0 +1 @@ +from .native.quoting import * # NOQA