rdf-ex/test/unit/rdf_test.exs
Marcel Otto 5819eec0cf Re-integrate XSD.ex
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.
2020-05-05 23:58:44 +02:00

16 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