home *** CD-ROM | disk | FTP | other *** search
- #
- # compat.test
- #
- # Tests Tcl library compatiblity routines.
- #---------------------------------------------------------------------------
- # Copyright 1992-1993 Karl Lehenbauer and Mark Diekhans.
- #
- # Permission to use, copy, modify, and distribute this software and its
- # documentation for any purpose and without fee is hereby granted, provided
- # that the above copyright notice appear in all copies. Karl Lehenbauer and
- # Mark Diekhans make no representations about the suitability of this
- # software for any purpose. It is provided "as is" without express or
- # implied warranty.
- #------------------------------------------------------------------------------
- # $Id: compat.test,v 3.0 1993/11/19 06:57:07 markd Rel $
- #------------------------------------------------------------------------------
- #
-
- if {[info procs test] != "test"} then {source testlib.tcl}
- eval $SAVED_UNKNOWN
-
- Test assign_fields-1.1 {assign_fields command} {
- assign_fields "a b {c d} e" alpha beta gamma delta epsilon
- list $alpha $beta $gamma $delta $epsilon
- } 0 "a b {c d} e {}"
-
- Test assign_fields-1.2 {assign_fields command} {
- set l {}
- set v {}
- eval assign_fields \$l $v
- } 0 {}
-
- rename unknown {}
-
-