pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1997-05-19
1997-05-19 09:32:40 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
04364869e2726ad3a9cddb0f5ee26ad93eda622a (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
1e-1 now works
Rev: src/lex.c:1.23
Rev: src/testsuite.in:1.41
1:
-
test_true([["$Id: testsuite.in,v 1.
40
1997/
04
/
28
23
:
48
:
42
hubbe Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
41
1997/
05
/
19
09
:
32
:
40
hubbe Exp $"]])
+
test_eq(1e1,10.0)
+
test_eq(1E1,10.0)
+
test_eq(1e+1,10.0)
+
test_eq(1.1e1,11.0)
+
test_eq(1e-1,0.1)
test_any([[class foo { constant x=17; }; class bar { inherit foo; constant x=18; }; return bar()->x;]],18) test_program([[inline string foo(string s){ while(s[0] == ' ' || s[0] == '\t') s = s[1..]; return(s); } string a() { return foo(" bar"); }]]) test_true([[lambda(function f) {return 1;}(object_program(this_object()));]])