Skip to content

Commit

Permalink
add tests for rdf:JSON xsd:float and xsd:double (#152)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: Gregg Kellogg <[email protected]>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent 2056c2f commit a77cdf0
Show file tree
Hide file tree
Showing 32 changed files with 4,289 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-9007199254740990-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "9007199254740990.5"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-9007199254740991-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "9007199254740991.5"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-9007199254740992-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "9007199254740992.5"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-e400.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "1E401"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-e401.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "1E401"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-negative-zero.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "-0"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/double-positive-zero.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "0"^^xsd:double .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-16777205-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "16777205.5"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-16777206-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "16777206.5"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-16777207-5.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "16777207.5"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-e400.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "1E400"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-e401.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "1E401"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-negative-zero.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "-0"^^xsd:float .
4 changes: 4 additions & 0 deletions rdf/rdf12/rdf-semantics/float-positive-zero.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX : <http://example.com/ns#>

:a :b "0"^^xsd:float .
Loading

0 comments on commit a77cdf0

Please sign in to comment.