Sha256: b8ce43ee0e979580a80192996198c037ba74b4af91e6a779bdb06ca3ef94f0f6
Contents?: true
Size: 1.01 KB
Versions: 56
Compression:
Stored size: 1.01 KB
Contents
require 'test_helper' module Vedeu module EscapeSequences describe Borders do let(:described) { Vedeu::EscapeSequences::Borders } describe 'border methods' do it { described.border_on.must_equal("\e(0") } it { described.border_off.must_equal("\e(B") } it { described.bottom_right.must_equal("\x6A") } it { described.top_right.must_equal("\x6B") } it { described.top_left.must_equal("\x6C") } it { described.bottom_left.must_equal("\x6D") } it { described.horizontal.must_equal("\x71") } it { described.vertical_left.must_equal("\x74") } it { described.vertical_right.must_equal("\x75") } it { described.horizontal_bottom.must_equal("\x76") } it { described.horizontal_top.must_equal("\x77") } it { described.vertical.must_equal("\x78") } end describe '.characters' do it { described.characters.must_be_instance_of(Hash) } end end # Borders end # EscapeSequences end # Vedeu
Version data entries
56 entries across 56 versions & 1 rubygems