Sha256: 038bf73e61819f9a7eee97637a70f9912567e1e842575449154cf6e7b1009349

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

gem "minitest"
require "minitest/autorun"
require "minitest/pride"
require "minitest/mock"
require "mocha/setup"

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "MESH"

# puts 'Configuring MESH::Mesh — this may take up to 10 seconds.'
# start = Time.now
# MESH::Mesh.configure(filename: File.expand_path('../../data/mesh_data_2014/d2014.bin.gz', __FILE__))
# finish = Time.now
# configuration_time = finish - start
#raise 'MESH::Mesh should configure in less than 10 seconds.' unless configuration_time < 10

# puts 'Translating MESH::Mesh into English ;) — this may take up to 60 seconds.'
# start = Time.now
# MESH::Mesh.translate('en-GB', MESH::Translator.new(MESH::Translator.enus_to_engb))
# finish = Time.now
# configuration_time = finish - start
# puts "took #{configuration_time}"
#raise 'MESH::Mesh should translate in less than 30 seconds.' unless configuration_time < 60

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mesh-medical-subject-headings-2.1.0 test/test_helper.rb
mesh-medical-subject-headings-2.0.6 test/test_helper.rb
mesh-medical-subject-headings-2.0.5 test/test_helper.rb
mesh-medical-subject-headings-2.0.4 test/test_helper.rb
mesh-medical-subject-headings-2.0.3 test/test_helper.rb
mesh-medical-subject-headings-2.0.2 test/test_helper.rb
mesh-medical-subject-headings-2.0.1 test/test_helper.rb