Sha256: b553b63c099fcf8e7842416153e9251de1a8d184680de70d5f2b933aad0860de

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

require File.join File.dirname(__FILE__), 'classifier_base'
require 'ankusa/cassandra_storage'

module CassandraClassifierBase
  def initialize(name)
    @storage = Ankusa::CassandraStorage.new CONFIG['cassandra_host'], CONFIG['cassandra_port'], "ankusa_test"
    super(name)
  end
end

class NBClassifierTest < Test::Unit::TestCase
  include CassandraClassifierBase
  include NBClassifierBase
end

class KLClassifierTest < Test::Unit::TestCase
  include CassandraClassifierBase
  include KLClassifierBase
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ankusa-0.1.1 test/cassandra_classifier_test.rb
ankusa-0.1.0 test/cassandra_classifier_test.rb