Sha256: c363b3b219dadbec09c0d2608888926158ff0a56f6ac7dea86da5e5079f0d283

Contents?: true

Size: 595 Bytes

Versions: 23

Compression:

Stored size: 595 Bytes

Contents

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

class MayaLiveExportTest < Test::Unit::TestCase
  include ParabolicTracks
  P_STD_ASPECT = File.dirname(__FILE__) + "/samples/ref_Mayalive.txt"
  P_CUSTOM_ASPECT = File.dirname(__FILE__) + "/samples/ref_Mayalive_CustomAspect.txt"
  
  def test_export_output_written
    ensure_same_output Tracksperanto::Export::MayaLive, P_STD_ASPECT
  end
  
  def test_export_output_written_for_custom_aspect
    ensure_same_output(Tracksperanto::Export::MayaLive, P_CUSTOM_ASPECT) do | exporter |
      exporter.aspect = 1.78
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
tracksperanto-2.1.1 test/export/test_maya_live_export.rb
tracksperanto-2.1.0 test/export/test_maya_live_export.rb
tracksperanto-2.0.2 test/export/test_maya_live_export.rb