Sha256: 1f73de7a39ee9a0e1c5edf03d8a3582c4047910ddb26885821e0ccce2a7b2138

Contents?: true

Size: 892 Bytes

Versions: 42

Compression:

Stored size: 892 Bytes

Contents

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

class Equalizer3ExportTestTest < Test::Unit::TestCase
  include ParabolicTracks
  P = File.dirname(__FILE__) + "/samples/ref_equalizer3.txt"
  
  def test_export_output_written
    ensure_same_output Tracksperanto::Export::Equalizer3, P
  end
  
  def test_exporter_meta
    assert_equal "3de_v3.txt", Tracksperanto::Export::Equalizer3.desc_and_extension
    assert_equal "3DE v3 point export .txt file", Tracksperanto::Export::Equalizer3.human_name
  end
  
  def test_export_for_format_does_not_override_preamble
    out = StringIO.new
    expt = Tracksperanto::Export::Equalizer3.new(out)
    expt.start_export(2048, 275)
    expt.end_export
    assert_equal "// 3DE Multiple Tracking Curves Export 2048 x 275 * 0 frames\n\n", out.string,
      "Frame count should not bleed into width"
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

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