Skip to content

Instantly share code, notes, and snippets.

@adamcooper
Created February 13, 2014 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcooper/8984196 to your computer and use it in GitHub Desktop.
Save adamcooper/8984196 to your computer and use it in GitHub Desktop.
Follow the instructions here: http://codingdojo.org/cgi-bin/wiki.pl?KataTennis
class TennisGame
def player_one_scores
end
def player_two_scores
end
def score
"Love All"
end
end
require_relative '03_tennis_kata'
require 'minitest/autorun'
describe TennisGame do
it "score the start of the game" do
game = TennisGame.new
game.score.must_equal "Love All"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment