Sha256: 00a6fa09dbc526c9542f1989eb5a99b280007b030099e0c3037eb1b8f3b68f69
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
require 'simplecov' SimpleCov.start require 'minitest/autorun' require 'minitest/spec' require 'minitest/mock' begin require 'awesome_print' module Minitest::Assertions def mu_pp(obj) obj.awesome_inspect end end rescue LoadError end # Match log information in dealer_logs class MatchLog DEALER_LOG_DIRECTORY = File.expand_path('../dealer_logs', __FILE__) attr_reader :results_file_name, :actions_file_name, :player_names, :dealer_log_directory def self.all [ MatchLog.new( '2p.limit.h1000.r0.log', '2p.limit.h1000.r0.actions.log', ['p1', 'p2'] ), MatchLog.new( '2p.nolimit.h1000.r0.log', '2p.nolimit.h1000.r0.actions.log', ['p1', 'p2'] ), MatchLog.new( '3p.limit.h1000.r0.log', '3p.limit.h1000.r0.actions.log', ['p1', 'p2', 'p3'] ), MatchLog.new( '3p.nolimit.h1000.r0.log', '3p.nolimit.h1000.r0.actions.log', ['p1', 'p2', 'p3'] ) ] end def initialize(results_file_name, actions_file_name, player_names) @results_file_name = results_file_name @actions_file_name = actions_file_name @player_names = player_names end def actions_file_path "#{DEALER_LOG_DIRECTORY}/#{@actions_file_name}" end def results_file_path "#{DEALER_LOG_DIRECTORY}/#{@results_file_name}" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acpc_poker_basic_proxy-3.2.2 | spec/support/spec_helper.rb |
acpc_poker_basic_proxy-3.2.1 | spec/support/spec_helper.rb |
acpc_poker_basic_proxy-3.2.0 | spec/support/spec_helper.rb |