Skip to content

Instantly share code, notes, and snippets.

@ZachBeta
Created May 28, 2012 17:06
Show Gist options
  • Save ZachBeta/2820114 to your computer and use it in GitHub Desktop.
Save ZachBeta/2820114 to your computer and use it in GitHub Desktop.
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 badass I may be, I'm not Zakk Wylde
assert_not_equal "Zachary","Zakk Wylde"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment