Sha256: 9dd6aa0cf4d8e510dc6b1cdfc60d128fc02a2eaec56f7b3171d46be2fd994c39

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

require 'test/unit'
require 'voruby/votable/votable'

module VORuby
  module VOTable
    
    class VOTableTest < ::Test::Unit::TestCase
      def test_version_detection
        assert_kind_of VOTable::V1_1::VOTable, VOTable.from_xml(File.new('test/voruby/votable/1.1/votable.basic.xml'))
        assert_kind_of VOTable::V1_0::VOTable, VOTable.from_xml(File.new('test/voruby/votable/1.0/votable.basic.xml'))
      end
    end
    
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
voruby-2.0.0 test/voruby/votable/test.rb
voruby2-preview-1.0.0 test/voruby/votable/test.rb