Skip to content

Instantly share code, notes, and snippets.

@cored
Created November 29, 2018 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cored/e9479f73917228749bd2dc81a1f73787 to your computer and use it in GitHub Desktop.
Save cored/e9479f73917228749bd2dc81a1f73787 to your computer and use it in GitHub Desktop.
require "minitest/autorun"
module Anagram
end
describe Anagram do
it "when we pass an empty string" do
words = ["apple", "orange"]
str = ""
Anagram.call(words, str).must_equal []
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment