Sha256: 22b5bdd0bd411d9a802005fbe8eca326a5e6361e61accd03c4782f94ac6cf3f0
Contents?: true
Size: 716 Bytes
Versions: 1
Compression:
Stored size: 716 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/more/lisp_format.rb # # Extracted Tue Jun 20 15:12:27 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/more/lisp_format.rb' require 'test/unit' class FormatTest < Test::Unit::TestCase def test_decimal assert( Lisp.format("~D", 1) == "1" ) end def test_decimal_params assert( Lisp.format("~5,'-D~6D", 1, 2) == "----1 2" ) end def test_decimal_modifiers assert( Lisp.format("~5,'-,'.:@D~@D", 1013, 2) == "+1.013+2" ) assert( Lisp.format("~7,,,2:@D~@D", 1013, 2) == " +10,13+2" ) end # Tests for ~v, ~V, ~# end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.4.2 | test/lib/facets/more/test_lisp_format.rb |