Sha256: a259ba56ce0a974642c515b1e22d0a5e7c772dd90760132fae6faef6d2466402

Contents?: true

Size: 632 Bytes

Versions: 16

Compression:

Stored size: 632 Bytes

Contents

# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__)) + '/../helper'

class BoujouExportTest < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_boujou.txt"
  
  def test_export_output_written
    t = Time.local(2010, "Apr", 15, 17, 21, 26)
    flexmock(Time).should_receive(:now).once.and_return(t)
    ensure_same_output Tracksperanto::Export::Boujou, P
  end
  
  def test_exporter_meta
    assert_equal "boujou_text.txt", Tracksperanto::Export::Boujou.desc_and_extension
    assert_equal "boujou feature tracks", Tracksperanto::Export::Boujou.human_name
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
tracksperanto-3.3.6 test/export/test_boujou_export.rb
tracksperanto-3.3.0.pre test/export/test_boujou_export.rb
tracksperanto-3.2.2 test/export/test_boujou_export.rb
tracksperanto-3.2.1 test/export/test_boujou_export.rb
tracksperanto-3.2.0 test/export/test_boujou_export.rb
tracksperanto-3.1.0 test/export/test_boujou_export.rb
tracksperanto-3.0.1 test/export/test_boujou_export.rb
tracksperanto-3.0.0 test/export/test_boujou_export.rb
tracksperanto-2.12.0 test/export/test_boujou_export.rb
tracksperanto-2.11.3 test/export/test_boujou_export.rb
tracksperanto-2.11.2 test/export/test_boujou_export.rb
tracksperanto-2.11.1 test/export/test_boujou_export.rb
tracksperanto-2.11.0 test/export/test_boujou_export.rb
tracksperanto-2.10.0 test/export/test_boujou_export.rb
tracksperanto-2.9.9 test/export/test_boujou_export.rb
tracksperanto-2.9.8 test/export/test_boujou_export.rb