Sha256: 7ad4bb9b6bd85e4f4b30420693acb5aa6f1338f4fe37b01d7a8a749943ff0f1d

Contents?: true

Size: 946 Bytes

Versions: 20

Compression:

Stored size: 946 Bytes

Contents

require 'test_helper'

module Vedeu

  module Bindings

    describe Movement do

      context 'the movement events are defined' do
        it { Vedeu.bound?(:_cursor_down_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_left_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_origin_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_position_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_reposition_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_reset_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_right_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_up_).must_equal(true) }

        it { Vedeu.bound?(:_geometry_down_).must_equal(true) }
        it { Vedeu.bound?(:_geometry_left_).must_equal(true) }
        it { Vedeu.bound?(:_geometry_right_).must_equal(true) }
        it { Vedeu.bound?(:_geometry_up_).must_equal(true) }
      end

    end # Movement

  end # Bindings

end # Vedeu

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
vedeu-0.5.2 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.5.1 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.5.0 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.65 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.64 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.63 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.62 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.61 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.60 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.59 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.58 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.57 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.56 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.55 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.54 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.53 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.52 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.51 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.50 test/lib/vedeu/bindings/movement_test.rb
vedeu-0.4.49 test/lib/vedeu/bindings/movement_test.rb