Sha256: 897f4f4a212927f9b2d98afc1934049d3b797e958e86e9253a44138204207c84

Contents?: true

Size: 476 Bytes

Versions: 101

Compression:

Stored size: 476 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')

require 'rbbt/sources/gscholar'
require 'test/unit'

class TestGScholar < Test::Unit::TestCase
  def test_citation
    assert_match /cites/, GoogleScholar.citation_link("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
    assert_match /\d+/, GoogleScholar.number_cites("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
  end

end


Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
rbbt-sources-3.0.1 test/rbbt/sources/test_gscholar.rb