Sha256: fd45459879c6cc94802546f06672bd52e7a567698e2b86822cdd6e01760dee98

Contents?: true

Size: 585 Bytes

Versions: 26

Compression:

Stored size: 585 Bytes

Contents

require 'test_helper'

module Vedeu

  module EscapeSequences

    describe Mouse do

      let(:described) { Vedeu::EscapeSequences::Mouse }

      describe 'mouse methods' do
        it { described.mouse_x10_on.must_equal("\e[?9h") }
        it { described.mouse_x10_off.must_equal("\e[?9l") }
        it { described.mouse_on.must_equal("\e[?1000h") }
        it { described.mouse_off.must_equal("\e[?1000l") }
      end

      describe '.mouse_codes' do
        it { described.mouse_codes.must_be_instance_of(Hash) }
      end

    end # Mouse

  end # EscapeSequences

end # Vedeu

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
vedeu-0.7.4 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.7.3 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.7.2 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.7.1 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.7.0 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.71 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.70 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.69 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.68 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.67 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.66 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.65 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.64 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.63 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.62 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.61 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.60 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.59 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.58 test/lib/vedeu/esc/mouse_test.rb
vedeu-0.6.57 test/lib/vedeu/esc/mouse_test.rb