pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
-
test_true([["$Id: testsuite.in,v 1.
626
2003/03/29
10
:
52
:
35
marcus
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
627
2003/03/29
18
:
38
:
28
grubba
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals()) ]]); test_eq(1e1,10.0); test_eq(1E1,10.0);
pike.git/src/testsuite.in:6062:
test_eq([[(float)"1"]],[[1.0]]) test_eq([[(float)"-1"]],[[-1.0]]) test_eq([[(float)"1.0"]],[[1.0]]) test_eq([[(float)"-1.0"]],[[-1.0]]) test_eq([[(float)1.0]],[[1.0]]) test_eq([[(float)-1.0]],[[-1.0]]) test_eq([[(float)1]],[[1.0]]) test_eq([[(float)-1]],[[-1.0]]) test_eq([[(string)1]],[["1"]]) test_eq([[(string)-1]],[["-1"]])
+
test_any([[
+
array foo=({ 1 });
+
return (string)sizeof(foo);
+
]], [["1"]])
+
test_any([[
+
array foo=({ -1 });
+
return (string)-sizeof(foo);
+
]], [["-1"]])
test_equal([[(array)(["1":1])]],[[ ({ ({"1", 1}) }) ]]) test_equal([[(array(int)) ({"1","4711",2.0,4})]],[[({1,4711,2,4})]]) test_equal([[(array(array))({({})})]],[[({({})})]]) test_equal([[ (array(array(int))) ({ ({"1","4711",2.0,4}) }) ]],[[ ({ ({1,4711,2,4}) }) ]]) test_equal([[ (array(array(array(int)))) ({ ({ ({"1","4711",2.0,4}) }) }) ]],[[ ({ ({ ({1,4711,2,4}) }) }) ]]) test_equal([[ (array(array(array(array(int))))) ({ ({ ({ ({"1","4711",2.0,4}) }) }) }) ]],[[ ({ ({ ({ ({1,4711,2,4}) }) }) }) ]]) test_equal([[(array)"foo"]],[[ values("foo") ]]) test_equal([[(array)(<1,2,3>)]],[[ indices( (<1,2,3>) )]]) test_equal([[sort(column((array)([1:2,3:4]),0))]],[[ sort(indices(([1:2,3:4])) )]])