Skip to content

Instantly share code, notes, and snippets.

@thefonso
Created December 5, 2012 15:41
Show Gist options
  • Select an option

  • Save thefonso/4216688 to your computer and use it in GitHub Desktop.

Select an option

Save thefonso/4216688 to your computer and use it in GitHub Desktop.
How to test a no class module.....line13
require 'board'
require 'minimax'
class Test_Minimax_Ai
include Algorithm::Minimax
end
describe 'Test_Minimax_Ai' do
before (:each) do
@ply = 7
@board = Board.new
@minimax = Test_Minimax_Ai.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment