Sha256: b60f5b5aad9aac756f6710b8cef6822b6d1bb4e9f32f439ffe7ee58ae80e4928

Contents?: true

Size: 275 Bytes

Versions: 199

Compression:

Stored size: 275 Bytes

Contents

class TestGdkColor < Test::Unit::TestCase
  def test_to_s
    color = Gdk::Color.new(0xffff, 0x1234, 0xabcd)
    if Gtk.check_version?(2, 12, 0)
      assert_equal("#ffff1234abcd", color.to_s)
    else
      assert_match(/\A#<Gdk::Color:.*>\z/, color.to_s)
    end
  end
end

Version data entries

199 entries across 199 versions & 2 rubygems

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