Sha256: 3d5e7ee9cd1ffe805c5571321a5412f51b91d1a0f811d6ced93e100278ced150
Contents?: true
Size: 696 Bytes
Versions: 1
Compression:
Stored size: 696 Bytes
Contents
require 'minitest/autorun' require 'string_color' class StringColorTest < Minitest::Test def test_color_output puts 'White color'.white puts 'Red color'.red puts 'Light red color'.light_red puts 'Green color'.green puts 'Light green color'.light_green puts 'Yellow color'.yellow puts 'Blue color'.blue puts 'Light blue color'.light_blue puts 'Purple color'.purple puts 'Light purple color'.light_purple puts 'Brown color'.brown puts 'Cyan color'.cyan puts 'Light cyan color'.light_cyan puts 'Light gray color'.light_gray puts 'Dark gray color'.dark_gray end def test_equal assert_equal "\e[31mRed\e[0m", "Red".red end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
string_color-0.2 | test/test_string_color.rb |