pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:7262:    test_eq("-1125968643114208", [[ (string)array_sscanf("-100000000000001000000000001000000000100010011100000", "%b")[0] ]])    test_eq("-11", [[ (string)array_sscanf("-0b1011", "%i")[0] ]])    test_eq("-1125968643114208", [[ (string)array_sscanf("-0b100000000000001000000000001000000000100010011100000", "%i")[0] ]])       test_eq([[ sprintf("%x", @array_sscanf("\0\0\0\0\1\2\3\4", "%4c")) ]], "0")    test_eq([[ sprintf("%x", @array_sscanf("\0\0\0\0\1\2\3\4", "%8c")) ]], "1020304")    test_eq([[ sprintf("%08x", @array_sscanf("\0\0\0\0\1\2\3\4", "%8c")) ]], "01020304")    test_eq([[ sprintf("%08x", @array_sscanf("\0\0\0\5\1\2\3\4", "%8c")) ]], "501020304")    test_eq([[ sprintf("%08x", @array_sscanf("\0\0\6\5\1\2\3\4", "%8c")) ]], "60501020304")    test_eq([[ sprintf("%08x", @array_sscanf("\0\7\6\5\1\2\3\4", "%8c")) ]], "7060501020304") -  test_eq([[ sprintf("%08x", @array_sscanf("\8\7\6\5\1\2\3\4", "%8c")) ]], "3807060501020304") +  test_eq([[ sprintf("%08x", @array_sscanf("8\7\6\5\1\2\3\4", "%8c")) ]], "3807060501020304")    test_eq([[ sprintf("%08x", @array_sscanf("\010\7\6\5\1\2\3\4", "%8c")) ]], "807060501020304")       test_equal([[ ({ 118 }) ]], [[ array_sscanf("0x76", "%x") ]])    test_equal([[ ({42 }) ]], [[ array_sscanf("101010", "%b") ]])    test_equal([[ ({42 }) ]], [[ array_sscanf("0b101010", "%b") ]])    test_equal([[ ({42 }) ]], [[ array_sscanf("0B101010", "%b") ]])    test_equal([[ ({ 557239244978618154304871 }) ]],    [[ array_sscanf("0x76000000000001234567", "%x") ]])       test_equal([[array_sscanf("foo \12345 bar <fie>","%[^<]")]],