Skip to content

Commit a77cdf0

Browse files
pfpsgkellogg
andauthored
add tests for rdf:JSON xsd:float and xsd:double (#152)
* add tests for rdf:JSON xsd:float and xsd:double * Update rdf/rdf12/rdf-semantics/json-array-2.ttl * Update rdf/rdf12/rdf-semantics/json-positive-zero-array.ttl * Update json-negative-zero-array.ttl * Update rdf/rdf12/rdf-semantics/json-array-1.ttl * Update rdf/rdf12/rdf-semantics/manifest.ttl --------- Co-authored-by: pfps <pfps@users.noreply.github.com> Co-authored-by: Gregg Kellogg <gregg@greggkellogg.net>
1 parent 2056c2f commit a77cdf0

32 files changed

+4289
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "9007199254740990.5"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "9007199254740991.5"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "9007199254740992.5"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "1E401"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "1E401"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "-0"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "0"^^xsd:double .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "16777205.5"^^xsd:float .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "16777206.5"^^xsd:float .
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
2+
PREFIX : <http://example.com/ns#>
3+
4+
:a :b "16777207.5"^^xsd:float .

0 commit comments

Comments
 (0)