pike.git
/
lib
/
modules
/
Standards.pmod
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Standards.pmod/testsuite.in:1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
13
2004
/
10
/
04
21
:
34
:
34
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
14
2006
/
01/
10
17
:
26
:
28
grubba
Exp $"]]);
// - Standards.ISO639_2 test_equal(Standards.ISO639_2.get_language("swe"),"Swedish") test_equal(Standards.ISO639_2.get_language("xxx"),0) test_true(sizeof(Standards.ISO639_2.list_languages())>400)
-
test_
egual
(Standards.ISO639_2.map_639_1("sv"),"swe")
-
test_
egual
(Standards.ISO639_2.map_639_1("xx"),0)
-
test_
true
(sizeof(Standards.ISO639_2.list_639_1())
==163
)
+
test_
equal
(Standards.ISO639_2.map_639_1("sv"),"swe")
+
test_
equal
(Standards.ISO639_2.map_639_1("xx"),0)
+
test_
equal
(sizeof(Standards.ISO639_2.list_639_1())
,164
)
test_do( class A { inherit Standards.ISO639_2; void create() { foreach(indices(b_to_t), string symbol) if(languages[symbol]) error("Overlap in symbol %s\n", symbol); } }(); )