Commits

Anonymous committed ad3c7c2

Now parse returns the height and width too

  • Participants
  • Parent commits fe7f260

Comments (0)

Files changed (2)

File hitori-solver-in-ruby/hitori-solver.rb

                 contents << out_line
             end
 
-            return contents
+            return [height, width, contents]
         end
 
     end

File hitori-solver-in-ruby/t/parse-board.rb

 [2W] [5B] [1W] [4W] [3U]
 EOF
 
-        got_contents.should == @contents
+        got_contents.should == [5,5,@contents,]
     end
 
 end