aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-num.out3
-rw-r--r--tests/test-num.ttl4
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/test-num.out b/tests/test-num.out
index 447f11df..2502580b 100644
--- a/tests/test-num.out
+++ b/tests/test-num.out
@@ -4,3 +4,6 @@
<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> .
diff --git a/tests/test-num.ttl b/tests/test-num.ttl
index 086ca5ab..54a425ac 100644
--- a/tests/test-num.ttl
+++ b/tests/test-num.ttl
@@ -6,4 +6,6 @@ eg:thing eg:num -0.3 .
eg:thing eg:num .4 .
eg:thing eg:num +.5 .
eg:thing eg:num -.6 .
-
+eg:thing eg:num 1.58490e-05 .
+eg:thing eg:num 1.58490e+05 .
+eg:thing eg:num 1.58490e05 .