pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-04-11
1998-04-11 00:21:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>
34c76c30a228b93ffbe311b66040bad071f50ce9 (
15
lines) (+
13
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Added test of __INIT().
Rev: src/testsuite.in:1.89
1:
-
test_true([["$Id: testsuite.in,v 1.
88
1998/04/
10
22
:
24
:
22
hubbe
Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
89
1998/04/
11
00
:
21
:
03
grubba
Exp $"]])
test_eq(1e1,10.0) test_eq(1E1,10.0) test_eq(1e+1,10.0)
58:
} } ]])
+
+
// Testing __INIT
test_any([[
-
+
class X { int x = 1; };
+
class Y { int y = 2; };
+
class Z { inherit X; inherit Y; int z = 4; };
+
object zz = Z();
+
return zz->x + zz->y + zz->z;
+
]], 7)
+
+
test_any([[
class X { static string f() { return "p"; } static class gazonk { void create() { f(); }};
1856:
test_search3($1,($1[1..])) ]])
-
dnl some m4
doesn
't handle 8 bit characters...
+
dnl some m4
's
don
't handle 8 bit characters...
test_search4("SUNE") test_search4("kapit\344l>") test_search4("-------------------+")