 Code.require_file "../test_helper", __FILE__
 
-defmodule BinaryTest do
+defmodule Binary.LiteralTest do
   use ExUnit.Case, async: true
 
   test :heredoc do

    assert <<a, b|s>> = "foo"
  end

  test :part do
    assert Binary.part("foo", 1, 2) == "oo"
    assert Binary.part("foo", 0, 3) == "foo"

    assert Binary.part("foobar", 1..-2) == "ooba"
    assert Binary.part("foobar", -3..-1) == "bar"
  end
end
