Sha256: 5e158dd49e2d8d85f0563dc09d5e8764926c00db3d64b5ea65a1563f81e65293

Contents?: true

Size: 654 Bytes

Versions: 3

Compression:

Stored size: 654 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

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