repo.or.cz
/
wvapps.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
HEAD: an extra unit test for wvbase64 that I forgot to check in a while ago.
[wvapps.git]
/
xplcidl
/
test.tcl
blob
6f6d1d4f23ca889179027f5b73fa02d0f73cafa5
1
#!/usr/bin/env tclsh
2
load
.
/
ctest_tcl.so
3
set
x
[
get_cppobj
]
4
5
set
expected voidfunc
6
ITest_voidfunc
$x
7
8
set
expected intparm_simple
9
ITest_intparm_simple
$x
1
10
11
set
expected intret
12
set
y
[
ITest_intret
$x
]
13
puts
"y is
$y
(should be 1)"
14
set
result
[
expr
$y
!=
1
]
15
puts
"result is
$result
"
16
exit
$result