-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for working on Ruby 1.9.1-preview1 merged from branch ruby19-po…
…rting
- Loading branch information
menthal
committed
Nov 6, 2008
1 parent
726d60d
commit 65ce8f2
Showing
7 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
require 'test/unit' | ||
|
||
require 'magicmaze/filemap' | ||
|
||
class TestFileMap < Test::Unit::TestCase | ||
def setup | ||
end | ||
|
||
def test_loading_filemaps | ||
(1..10).each do|level| | ||
filename = sprintf "data/maps/mm_map.%03d", level | ||
filemap = MagicMaze::FileMap.new( filename ) | ||
assert( filemap ) | ||
gamemap = filemap.to_gamemap | ||
assert( gamemap ) | ||
assert( filemap.title.size.nonzero? ) | ||
end | ||
end | ||
end |
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
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