pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.590 2003/08/20 19:41:07 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.591 2003/09/09 16:58:30 mast 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:5223:    test_eq("6442450941", [[ (string)(0x7fffffff * 3) ]])    test_eq("-6442450941", [[ (string)(0x7fffffff * -3) ]])    test_eq(-2147483648*-1,2147483648)       // Division.    test_eq("1073741824", [[ (string)((int)"2147483648" / 2) ]])    test_false([[ objectp((int)"2147483648" / 2) ]])    test_eq("13934998268672547360069539025",    [[ (string)(48324683476346278246238462784624627348 / 3467864333) ]])    +  // sprintf (and the describe stuff in the master) +  test_do([[sprintf ("%O", 10->pow);]])   ]])      cond([[ sizeof( cpp("__AUTO_BIGNUM__")/"__AUTO_BIGNUM__" ) == 1 ]],   [[       // - sscanf.    test_eq("12345678901234567890",    [[ (string)array_sscanf("12345678901234567890", "%d")[0] ]])    test_eq("1375488932614371410344080",    [[ (string)array_sscanf("123456789F01234567890", "%x")[0] ]])