source: tol/tol_tests/toltcl/Bugzilla/bug_000470/test.tcl @ f6b0bd0

1941-docker-image-to-testdevel
Last change on this file since f6b0bd0 was f6b0bd0, checked in by Jorge Pérez <josp.jorge@…>, 18 years ago

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@404 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 550 bytes
Line 
1# This is a test file to verify the report
2# http://bugs.tol-project.org/show_bug.cgi?id=470
3#
4
5proc on_stack { name } {
6  foreach obj  [tol::console stack list] {
7    if {[lindex $obj 1] eq "tms1"} {
8      return 1
9    }
10  }
11  return 0
12}
13
14tol::console eval {
15  Real k = 2;
16  Real n = 10;
17  Set all = [[k,n]];
18}
19
20tol::console stack release
21if {[llength [tol::console stack list]]} {
22  set quality 0.0
23  set partial "console stack should be empty"
24} else {
25  set quality 1.0
26  set partial "all objects were successfully removed from console stack"
27}
28
Note: See TracBrowser for help on using the repository browser.