Sha256: c74b2d49a6789243d1f8257e03359005fe66f69b1671771c961d4a19442ee5b0
Contents?: true
Size: 330 Bytes
Versions: 317
Compression:
Stored size: 330 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') require 'rbbt/util/colorize' require 'test/unit' class TestColorize < Test::Unit::TestCase def test_color_array a = (1..16).to_a assert_equal 16, Colorize.distinct(a).length assert_equal 16, Colorize.distinct(a).compact.uniq.length end end
Version data entries
317 entries across 317 versions & 1 rubygems