Sha256: e8fa2dcb0cf83ece47de3e5c0bd91bb4bcad6f96fea8a74b197c63d58da8f947
Contents?: true
Size: 418 Bytes
Versions: 36
Compression:
Stored size: 418 Bytes
Contents
require 'cairo' class ConstantsTest < Test::Unit::TestCase def test_text_cluster_flags constant_name = "TextClusterFlag" unless Cairo.satisfied_version?(1, 7, 6) assert_false(Cairo.const_defined?(constant_name)) return end assert_true(Cairo.const_defined?(constant_name)) assert_equal((0..1).to_a, [0, Cairo::TextClusterFlag::BACKWARD]) end end
Version data entries
36 entries across 36 versions & 1 rubygems