Sha256: 3bba04263cc2354ca24a6a59306681296402d5e70114a6bada9c2b6e2efa515a
Contents?: true
Size: 671 Bytes
Versions: 48
Compression:
Stored size: 671 Bytes
Contents
require File.dirname(__FILE__) + '/../helper' class MuxTest < Test::Unit::TestCase def test_mux_replays outs = (0..25).map do o = flexmock o.should_receive(:start_export).once.with(720, 576) o.should_receive(:start_tracker_segment).once.with("FooT") o.should_receive(:export_point).once.with(0, 45.0, 67.0, 0.3) o.should_receive(:end_tracker_segment).once o.should_receive(:end_export).once o end mux = Tracksperanto::Export::Mux.new(outs) mux.start_export(720, 576) mux.start_tracker_segment("FooT") mux.export_point(0, 45.0, 67.0, 0.3) mux.end_tracker_segment mux.end_export end end
Version data entries
48 entries across 48 versions & 1 rubygems