Sha256: f4ebbf5b48bda415593d9c1d353d240de2ee61ad28bbaa5d9710405208d8e5a3

Contents?: true

Size: 445 Bytes

Versions: 5

Compression:

Stored size: 445 Bytes

Contents

require "test/unit"

$:.unshift File.dirname(__FILE__) + "/../ext/rocker"
require "rocker.so"

def database_string dbn = "crossval_development", u = "jwoods", p = "youwish1"
  "dbname=#{dbn} user=#{u} password=#{p}"
end

class TestRockerExtn < Test::Unit::TestCase
  def test_working
    t = Rocker.new(database_string, 1, 167)
    x = t.mean_auc
    puts "Mean AUC was #{x}"
  end

  def test_version_string
    puts Rocker::VERSION
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rocker-0.0.8 test/test_rocker_extn.rb
rocker-0.0.7 test/test_rocker_extn.rb
rocker-0.0.6 test/test_rocker_extn.rb
rocker-0.0.5 test/test_rocker_extn.rb
rocker-0.0.4 test/test_rocker_extn.rb