Sha256: ed248eb71e792f701091fe4209de370ee5a83ae636a74be7e4c9c69b54364e92

Contents?: true

Size: 627 Bytes

Versions: 18

Compression:

Stored size: 627 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).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

18 entries across 18 versions & 1 rubygems

Version Path
tracksperanto-3.5.9 test/export/test_boujou_export.rb
tracksperanto-3.5.8 test/export/test_boujou_export.rb
tracksperanto-3.5.7 test/export/test_boujou_export.rb
tracksperanto-3.5.6 test/export/test_boujou_export.rb
tracksperanto-3.5.5 test/export/test_boujou_export.rb
tracksperanto-3.5.4 test/export/test_boujou_export.rb
tracksperanto-3.5.2 test/export/test_boujou_export.rb
tracksperanto-3.5.1 test/export/test_boujou_export.rb
tracksperanto-3.5.0 test/export/test_boujou_export.rb
tracksperanto-3.4.1 test/export/test_boujou_export.rb
tracksperanto-3.4.0 test/export/test_boujou_export.rb
tracksperanto-3.3.13 test/export/test_boujou_export.rb
tracksperanto-3.3.12 test/export/test_boujou_export.rb
tracksperanto-3.3.11 test/export/test_boujou_export.rb
tracksperanto-3.3.10 test/export/test_boujou_export.rb
tracksperanto-3.3.9 test/export/test_boujou_export.rb
tracksperanto-3.3.8 test/export/test_boujou_export.rb
tracksperanto-3.3.7 test/export/test_boujou_export.rb