Changeset 27340 in project


Ignore:
Timestamp:
08/30/12 13:18:07 (9 years ago)
Author:
sjamaan
Message:

numbers: Also add NUL byte test from Chicken core's string conversion tests to numbers egg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/numbers/trunk/tests/string-conversion.scm

    r26250 r27340  
    7474                                     (newline)))))))))))))
    7575
    76 ;; Here comes a horrible nasty hack.  It seems to work though ;)
    7776(define-syntax test-numbers
    7877  (syntax-rules (compnums fractions)
     
    113112 ("#I1" 1.0 "1.0" "1.")
    114113 ("#i-1" (- 1.0) "-1.0" "-1.")
     114 ("123\x00456" #f)
    115115 ("-#i1" #f)
    116116 ("+-1" #f)
     
    236236   ("1/2e2" #f)
    237237   ("1#/2" 5.0 7.5 "5.0" "5." "7.5")
    238    ("1/2#" 0.05 "0.05" ".05" "50.0e-3")
     238   ("1/2#" 0.05 "0.05" ".05" "50.0e-3" "5.e-002")
    239239   ("1#/#" #f)
    240240   ("1/" #f)
Note: See TracChangeset for help on using the changeset viewer.