Sha256: 467f945abd58ac3eb5d26fa0217def75a6dc5a1447306ba7e748851d7cc916b2

Contents?: true

Size: 681 Bytes

Versions: 18

Compression:

Stored size: 681 Bytes

Contents

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

class TestFlameStabilizerExport < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_flame.stabilizer"
  
  def test_export_output_written
    t = Time.local(2010, "Feb", 18, 17, 22, 12)
    flexmock(Time).should_receive(:now).and_return(t)
    ensure_same_output Tracksperanto::Export::FlameStabilizer, P 
  end
  
  def test_exporter_meta
    assert_equal "flame.stabilizer", Tracksperanto::Export::FlameStabilizer.desc_and_extension
    assert_equal "Flame/Smoke 2D Stabilizer setup", Tracksperanto::Export::FlameStabilizer.human_name
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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