Create a gist now

Instantly share code, notes, and snippets.

Zachary[0,4]
require 'test/unit'
class ARoseByAnyOtherName < Test::Unit::TestCase
def test_should_not_be_zack
assert_not_equal "Zachary"[0,4],"Zack"
# I'm not Zack Morris
# though I did have a huge crush on Kelly Kapowski
assert_not_equal "Zach Morek","Zack Morris"
end
def test_should_not_be_zac
assert_not_equal "Zachary"[0,4],"Zac"
# I'm not Zac Efron either
assert_not_equal "Zach Morek","Zac Efron"
end
def test_should_not_be_zakk
assert_not_equal "Zachary"[0,4],"Zakk"
# However hardcore I may be, I'm not Zakk Wylde
assert_not_equal "Zach Morek","Zakk Wylde"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment