Skip to content

Commit

Permalink
Added test escape pod room
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidToca committed Jul 31, 2012
1 parent 0d8b1d7 commit 2d8e189
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gothonweb/test/test_map.rb
Expand Up @@ -16,6 +16,8 @@ def setup
@the_bridge = game.the_bridge
@the_bridge_death = game.the_bridge_death
@escape_pod = game.escape_pod
@the_end_winner = game.the_end_winner
@the_end_loser = game.the_end_loser
end

def test_room
Expand Down Expand Up @@ -78,4 +80,11 @@ def test_the_bridge

end

def test_escape_pod

assert_equal(@escape_pod.go('2'),@the_end_winner)
assert_equal(@escape_pod.go('5'),@the_end_loser)


end
end

0 comments on commit 2d8e189

Please sign in to comment.