Created
June 28, 2017 17:48
-
-
Save bgreg/d418a0b2bc153e1a4fdcbe77593b31cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def explain(string = "\n") | |
require "pp" | |
debug = true | |
pp string if debug | |
end | |
def hr | |
explain "-" * 80 | |
end | |
def algorithm(input) | |
end | |
def test | |
input = "" | |
expected = "" | |
result = algorithm(input) | |
if result == expected | |
puts "❤️❤️❤️❤️❤️❤️❤️❤️❤️ Great Job Greg! I knew you could do it! ❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️ " | |
else | |
puts "Keep trying, you'll get it next time. I got: #{result}, but I expected: #{expected}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment