Sha256: 659827bb0e8edc2b913432e80e2a80d6519ad4453e30b01883241f96a4230330

Contents?: true

Size: 603 Bytes

Versions: 26

Compression:

Stored size: 603 Bytes

Contents

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

class FlopToolTest < Test::Unit::TestCase
  
  def test_action_description
    assert_equal "Mirror all the tracker paths vertically", Tracksperanto::Tool::Flop.action_description
  end
  
  def test_export_flip_and_flop
    receiver = flexmock(:exporter)
    receiver.should_receive(:start_export).once.with(110, 120)
    receiver.should_receive(:export_point).once.with(1, 10, 25, 0)
    
    m = Tracksperanto::Tool::Flop.new(receiver)
    m.start_export(110, 120)
    m.export_point(1, 10, 95, 0)
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

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