Sha256: abeeaab887d1a71bf262569b9f98be99ce8a3d81a2cd8f2a413ba2054fdc3d28

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

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

class TestIndex < Test::Unit::TestCase

  def test_index
    db_fname = 'tmp/list'
    begin
      BinarySearch.index(TestDataSource.new, db_fname)
    ensure
      File.delete(db_fname)
      File.delete(db_fname + '.idx')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
binarysearch-0.0.1 test/test_index.rb
binarysearch-0.0.2 test/test_index.rb