Sha256: 588bbb4df97363bf6c9c0c815651625fc6d78e3cd719d48326633156937e76f0
Contents?: true
Size: 534 Bytes
Versions: 8
Compression:
Stored size: 534 Bytes
Contents
# encoding: utf-8 ### # to run use # ruby -I ./lib -I ./test test/test_match_eng.rb require 'helper' class TestMatchEng < MiniTest::Test def test_eng txt, exp, teams = read_test( 'match/eng.txt' ) SportDb::Import.config.lang = 'en' start = Date.new( 2017, 7, 1 ) parser = SportDb::MatchParser.new( txt, teams, start ) matches, rounds = parser.parse pp rounds pp matches[-1] ## only dump last record for now end # method test_end end # class TestMatchEng
Version data entries
8 entries across 8 versions & 1 rubygems