~ubuntu-branches/ubuntu/raring/tcl8.5/raring

« back to all changes in this revision

Viewing changes to tests/scan.test

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2011-12-20 18:16:54 UTC
  • mfrom: (11.2.3 sid)
  • Revision ID: package-import@ubuntu.com-20111220181654-ucrvquqz66e1dv80
Tags: 8.5.11-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Don't use tcl itself to install things when building, to allow for
    cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
749
749
 
750
750
# scan infinities - not working
751
751
 
752
 
test scan-14.1 {infinity} ieeeFloatingPoint {
 
752
test scan-14.1 {infinity} {
753
753
    scan Inf %g d
754
754
    set d
755
755
} Inf
756
 
test scan-14.2 {infinity} ieeeFloatingPoint {
 
756
test scan-14.2 {infinity} {
757
757
    scan -Inf %g d
758
758
    set d
759
759
} -Inf