pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.28 2004/05/01 15:42:02 mast Exp $ + dnl $Id: testsuite.in,v 1.29 2004/05/02 18:25:47 nilsson Exp $    -  + START_MARKER +    dnl - Array      test_equal(Array.diff(({ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }),    ({ 6, 7, 8, 9, 3, 4, 5, 1, 2, 0 })),    ({ ({ ({ 0, 1, 2, 3, 4, 5 }),    ({ 6, 7, 8, 9 }), ({}) }),    ({ ({}), ({ 6, 7, 8, 9 }),    ({ 3, 4, 5, 1, 2, 0 }) }) }))   test_equal(Array.diff(({ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }),    ({ 9, 7, 8, 4, 5, 6, 0, 1, 2, 3 })),
pike.git/lib/modules/testsuite.in:23:    "zzz"/"" }) }))   test_equal(Array.diff("123.org"/"","http://123.org/"/""),    ({ ({ ({}), "123.org"/"", ({}) }),    ({ "http://"/"", "123.org"/"", ({ "/" }) }) }))      dnl Array.diff_compare_table      test_equal(Array.longest_ordered_sequence("dfgaok√§pojghadjjioijrgxcvb"/""),    ({ 0, 1, 2, 10, 11, 16, 18, 19, 20, 22 }));    - dnl Array.interleave_array + test_equal([[ Array.interleave_array( ({ +  ([ 2:2, 6:3]), ([ 2:4, 5:5 ]), ([]), ([2:6,3:7,6:8]) })) ]],[[ + ({ 0, 2, -1, 6 }) ]]) +    dnl Array.sort      test_equal([[ Array.diff(enumerate(4),enumerate(4,1,2)) ]],    [[ ({ ({ ({0,1}), ({2,3}), ({ }) }),    ({ ({ }), ({2,3}), ({4,5}) }) }) ]])   test_any_equal([[ array x, y;    [x, y] = Array.diff(enumerate(4),enumerate(4,1,2));    return x[1] == y[1]; ]], 1)      test_equal(Array.everynth("0123456789"/""),
pike.git/lib/modules/testsuite.in:944:   test_do([[    string s;    for(s="foobar";strlen(s)<78;s+=s)    {    for(int e=0;e<strlen(s);e++)    {    s[e]++;    }    }   ]]) +  + END_MARKER