Sha256: 8d9504a898c5bd2d054d88ec4e6dd2f4f02c61bd3ddd8d96996584da8f54930d

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + '/../helper'

class RubyExportTest < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_Ruby.rb"
  
  def test_export_output_written
    ensure_same_output Tracksperanto::Export::Ruby, P
  end
  
  def test_exporter_meta
    assert_equal "tracksperanto_ruby.rb", Tracksperanto::Export::Ruby.desc_and_extension
    assert_equal "Bare Ruby code", Tracksperanto::Export::Ruby.human_name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tracksperanto-4.1.2 test/export/test_ruby_export.rb
tracksperanto-4.1.0 test/export/test_ruby_export.rb
tracksperanto-4.0.0 test/export/test_ruby_export.rb