rdf-ex/test/unit/rdf_test.exs

16 lines
388 B
Elixir
Raw Normal View History

2017-06-11 15:23:58 +00:00
defmodule RDFTest do
use RDF.Test.Case
2017-04-20 21:09:55 +00:00
2016-10-15 16:26:56 +00:00
doctest RDF
test "Datatype constructor alias functions" do
assert RDF.langString("foo", language: "en") == RDF.Literal.new("foo", language: "en")
end
2019-03-27 23:12:14 +00:00
describe "default_prefixes/0" do
test "when nothing configured returns the standard prefixes" do
assert RDF.default_prefixes() == RDF.standard_prefixes()
end
end
2016-10-15 16:26:56 +00:00
end