Sha256: 469109f2f6a5dff33a5d444979ae97e89f560b4bad84ca7720add9e74f62db4b
Contents?: true
Size: 952 Bytes
Versions: 3
Compression:
Stored size: 952 Bytes
Contents
require File.expand_path(File.dirname(__FILE__)) + '/../helper' class MatchmoverExportTest < Test::Unit::TestCase include ParabolicTracks P = File.dirname(__FILE__) + "/samples/ref_matchmover.rz2" def test_export_output_written ensure_same_output Tracksperanto::Export::MatchMover, P end def test_exporter_meta assert_equal "matchmover.rz2", Tracksperanto::Export::MatchMover.desc_and_extension assert_equal "MatchMover REALVIZ Ascii Point Tracks .rz2 file", Tracksperanto::Export::MatchMover.human_name end def test_width_and_height_not_stepping_on_each_other_in_preamble o = StringIO.new expt = Tracksperanto::Export::MatchMover.new(o) expt.start_export(1080, 720) expt.end_export assert_equal "imageSequence\t\"Sequence 01\"\n{\n\t1080\t720\tf( \"D:/temp/sequence.%04d.dpx\" )\tb( 1 211 1 )\t\n}\n", o.string, "The output width and height should be properly substituted" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tracksperanto-4.1.2 | test/export/test_match_mover_export.rb |
tracksperanto-4.1.0 | test/export/test_match_mover_export.rb |
tracksperanto-4.0.0 | test/export/test_match_mover_export.rb |