aboutsummaryrefslogtreecommitdiffstats
path: root/tests/good/test-num.nt
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-24 23:04:29 +0000
committerDavid Robillard <d@drobilla.net>2013-02-24 23:04:29 +0000
commit88c96ff1491d8c684800a3995027d6b15c5eec5d (patch)
tree3f4edc7ad583ef1edcff26a6363b90e91720f75f /tests/good/test-num.nt
parentc317ac6594af5caac034a439c28e3ffcfebc5a51 (diff)
downloadserd-88c96ff1491d8c684800a3995027d6b15c5eec5d.tar.gz
serd-88c96ff1491d8c684800a3995027d6b15c5eec5d.tar.bz2
serd-88c96ff1491d8c684800a3995027d6b15c5eec5d.zip
Move old test suite to its own directory.
git-svn-id: http://svn.drobilla.net/serd/trunk@416 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/good/test-num.nt')
-rw-r--r--tests/good/test-num.nt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/good/test-num.nt b/tests/good/test-num.nt
new file mode 100644
index 00000000..54263d46
--- /dev/null
+++ b/tests/good/test-num.nt
@@ -0,0 +1,10 @@
+<http://example.org/eg#thing> <http://example.org/eg#num> "0.1"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "+0.2"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "-0.3"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> ".4"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "+.5"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "-.6"^^<http://www.w3.org/2001/XMLSchema#decimal> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e-05"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e+05"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490e05"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.org/eg#thing> <http://example.org/eg#num> "1.58490E05"^^<http://www.w3.org/2001/XMLSchema#double> .