 Code.require_file "../test_helper.exs", __ENV__.file
-ExUnit.start()
 
 defmodule RadpathTests.RadpathFacts do
 

  end

  facts "Test rename" do

    defchecker path_exists(path) do
        File.exists?(path) |> truthy
    end

    fact "Test rename: Normal Usage" do
      source_file = "/tmp/hoho.txt"

        dest |> ! path_exists()
        Radpath.symlink(src, dest)
        elem(F.read_link(dest), 0) |> :ok
        Radpath.islink?(dest) |> truthy
        dest |> path_exists()
      after
        File.rm_rf dest
