5819eec0cf
It turned out that the costs of separating the XSD datatypes are too high and probably not worth the effort, since with its limited scope probably nobody would want to use XSD.ex outside of the RDF.ex context anyway.
15 lines
388 B
Elixir
15 lines
388 B
Elixir
defmodule RDFTest do
|
|
use RDF.Test.Case
|
|
|
|
doctest RDF
|
|
|
|
test "Datatype constructor alias functions" do
|
|
assert RDF.langString("foo", language: "en") == RDF.Literal.new("foo", language: "en")
|
|
end
|
|
|
|
describe "default_prefixes/0" do
|
|
test "when nothing configured returns the standard prefixes" do
|
|
assert RDF.default_prefixes() == RDF.standard_prefixes()
|
|
end
|
|
end
|
|
end
|