Sha256: 4ed4da9ab66f941fb3ac7fa9d9057dab60a59f324ab9927853daccba695cbc51

Contents?: true

Size: 743 Bytes

Versions: 1

Compression:

Stored size: 743 Bytes

Contents

$:.unshift(File.dirname(__FILE__) + "/../lib/")
require 'test/unit'
require 'dbf'
require 'common'

class DBaseIIIReadTest < Test::Unit::TestCase
  include CommonTests::Read
  
  def setup
    @controls = {
      :version => "03",
      :has_memo_file => false,
      :field_count => 31,
      :record_count => 14,
      :record_length => 590,
      :testable_character_field_names => ["Shape"],
      :testable_date_field_names => ["Date_Visit"],
      :testable_integer_field_names => ["Filt_Pos"],
      :testable_float_field_names => ["Max_PDOP"],
      :testable_logical_field_names => [],
      :testable_memo_field_names => []
    }
    @dbf = DBF::Reader.new(File.join(File.dirname(__FILE__),'databases', 'dbase_iii.dbf'))
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dbf-0.3.0 test/dbase_iii_read_test.rb