Sha256: cd828ccf728c75060abddac3b294f032489c9d7f681ff02bf112604e76bccb45

Contents?: true

Size: 459 Bytes

Versions: 203

Compression:

Stored size: 459 Bytes

Contents

class TestAttribute < Test::Unit::TestCase
  include PangoTestUtils

  def setup
    @attribute = Pango::AttrLanguage.new(Pango::Language.default)
  end

  def test_start_index
    assert_equal(0, @attribute.start_index)
    @attribute.start_index = 5
    assert_equal(5, @attribute.start_index)
  end

  def test_end_index
    assert_equal(GLib::MAXUINT, @attribute.end_index)
    @attribute.end_index = 5
    assert_equal(5, @attribute.end_index)
  end
end

Version data entries

203 entries across 195 versions & 2 rubygems

Version Path
pango-3.4.4 test/test-attribute.rb
pango-3.4.3 test/test-attribute.rb
pango-3.4.2 test/test-attribute.rb
pango-3.4.1 test/test-attribute.rb
pango-3.4.0 test/test-attribute.rb
pango-3.3.9 test/test-attribute.rb
pango-3.3.8 test/test-attribute.rb
pango-3.3.7 test/test-attribute.rb
pango-3.3.6 test/test-attribute.rb
pango-3.3.5 test/test-attribute.rb
pango-3.3.4 test/test-attribute.rb
pango-3.3.3 test/test-attribute.rb
pango-3.3.2 test/test-attribute.rb
pango-3.3.1 test/test-attribute.rb
pango-3.3.0 test/test-attribute.rb
pango-3.2.9-x64-mingw32 test/test-attribute.rb
pango-3.2.9-x86-mingw32 test/test-attribute.rb
pango-3.2.9 test/test-attribute.rb
pango-3.2.8-x64-mingw32 test/test-attribute.rb
pango-3.2.8-x86-mingw32 test/test-attribute.rb