File: base32.test

package info (click to toggle)
tcllib 1.10-dfsg-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 17,708 kB
  • ctags: 6,122
  • sloc: tcl: 106,354; ansic: 9,205; sh: 8,707; xml: 1,766; yacc: 753; makefile: 115; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (40 lines) | stat: -rw-r--r-- 1,021 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- tcl -*- Tests for "base32"
# This testsuite is in the public domain.
#__________________________________________
# RCS: @(#) $Id: base32.test,v 1.3 2006/10/13 05:39:49 andreas_kupries Exp $

# -------------------------------------------------------------------------

source [file join \
	[file dirname [file dirname [file join [pwd] [info script]]]] \
	devtools testutilities.tcl]

testsNeedTcl     8.4
testsNeedTcltest 2.1

support {
    useLocal     base32core.tcl base32::core
}
testing {
    useTcllibC
    useLocalKeep base32.tcl     base32
    TestAccelInit               base32
}

set tests [localPath base32.testsuite]

# -------------------------------------------------------------------------

# The global variable 'impl' is part of the public API the testsuite
# (in base32.testsuite) does expect from the environment.

TestAccelDo base32 impl {
    source $tests
}

# -------------------------------------------------------------------------

unset tests
TestAccelExit base32
testsuiteCleanup
return