pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.535 2002/09/07 01:03:19 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.536 2002/09/15 22:42:16 marcus Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())   ]]);   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);
pike.git/src/testsuite.in:2666:    int x=1;    void for10(function f) { for(int e=0;e<10;e++) f(); };    for10(lambda() { x++; });    return x;   ]], 11)      // implicit lambda tests   test_any([[    int x=1;    void for10(function f) { for(int e=0;e<10;e++) f(); }; -  for10() { x++; } +  for10() { x++; };    return x;   ]], 11)    -  + test_compile_error([[ +  int x=1; +  void for10(function f) { for(int e=0;e<10;e++) f(); }; +  for10() { x++; } +  return x; + ]]) +    test_any([[    int x;    for(int i=5; i < 10; i++) x++;    return x;   ]], 5)      test_true([[lambda(function f) {return 1;}(object_program(this_object()));]])   test_any([[    function my_lambda;