Sha256: f0b26811e4144f5722baa65bf66138f2e090470169b44dcc433d7ddcd9404ab5

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module EscapeSequences

    describe Mouse do

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

      describe '.mouse_x10_on' do
        it { described.mouse_x10_on.must_equal("\e[?9h") }
      end

      describe '.mouse_x10_on' do
        it { described.mouse_x10_off.must_equal("\e[?9l") }
      end

      describe '.mouse_on' do
        it { described.mouse_on.must_equal("\e[?1000h") }
      end

      describe '.mouse_off' do
        it { described.mouse_off.must_equal("\e[?1000l") }
      end

    end # Mouse

  end # EscapeSequences

end # Vedeu

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.8.1 test/lib/vedeu/esc/mouse_test.rb