Sha256: ce9f7eb8675bad2a28a53932bf4fadd92a46b13b019548ddc5407e0307fc704f
Contents?: true
Size: 397 Bytes
Versions: 19
Compression:
Stored size: 397 Bytes
Contents
# Test for lib/facets/string/align.rb require 'facets/string/align.rb' require 'test/unit' class TestStringAlign < Test::Unit::TestCase def test_align_right assert_equal( " xxx", "xxx".align_right(9) ) end def test_align_left assert_equal( "xxx ", "xxx".align_left(9) ) end def test_align_center assert_equal( " xxx ", "xxx".align_center(9) ) end end
Version data entries
19 entries across 19 versions & 1 rubygems