pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:10527:   // - _verify_internals   ifefun(_verify_internals,   [[    test_do(_verify_internals())   ]])      // - `!   // - `!=   // - `%   // - `& +    // - `() -  + test_eq(1,`()(a)) + test_eq(1,`()(lambda(int a){ return a; },1)) + test_eq(1,`()(intp,1)) +    // - `*      // - `+   test_eq(`+(1,1),2)   test_eq(`+(1,-2),-1)   test_eq(`+(-2,-2),-4)   test_eq(`+("hi","there"),"hithere")      test_eq(`+("hi\777","there"),"hi\777there")   test_eq(`+("hi","there\777"),"hithere\777")
pike.git/src/testsuite.in:10665:   test_eq(basetype(({1})),"array")   test_eq(basetype((<>)),"multiset")   test_eq(basetype(([])),"mapping")   test_eq(basetype(class {}),"program")   test_eq(basetype(class {}()),"object")   test_eq(basetype(abs),"function")   test_eq(basetype(lambda(){}),"function")   test_eq(basetype(typeof(0)),"type")      // - call_function - test_eq(1,call_function(a)) - test_eq(1,call_function(lambda(int a){ return a; },1)) - test_eq(1,call_function(intp,1)) + test_eq(1,#pragma no_deprecation_warnings + call_function(a)) + test_eq(1,#pragma no_deprecation_warnings + call_function(lambda(int a){ return a; },1)) + test_eq(1,#pragma no_deprecation_warnings + call_function(intp,1))      // - call_out   // - call_out_info      // - callablep   define(test_callablep,[[    test_eq( callablep($1), $2)    test_any([[    mixed x = $1;    mixed e = catch { x(); };