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