pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.36 2004/07/14 13:48:43 grubba Exp $ + dnl $Id: testsuite.in,v 1.37 2006/01/31 10:15:59 mast 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 }),
pike.git/lib/modules/testsuite.in:266:    ({({ }),({"a"}),({ })}),    ({({"b"}),({"a"}),({ })})}))   test_equal(Array.diff3(({"a","c"}),({"a","c","b","a"}),({"b","a","c"})),    ({({({ }),({"a","c"}),({ })}),    ({({ }),({"a","c"}),({"b","a"})}),    ({({"b"}),({"a","c"}),({ })})}))   test_equal(Array.diff3(({"a","c","b","a"}),({"a","c"}),({"b","a","c"})),    ({({({ }),({"a","c"}),({"b","a"})}),    ({({ }),({"a","c"}),({ })}),    ({({"b"}),({"a","c"}),({ })})})) + test_equal(Array.diff3(({1,2,3,4}),({1,6,7,2}),({1,3,4,2,6,7})), +  ({({({1}),({2}),({3,4}),({ }),({ }),({ })}), +  ({({1}),({ }),({ }),({ }),({6,7}),({2})}), +  ({({1}),({ }),({3,4}),({2}),({6,7}),({ })})}))      define(test_sort,[[    test_eq(Array.$1($2,$3), -1)    test_eq(Array.$1($3,$2), 1)   ]])      test_false(Array.dwim_sort_func("",""))   test_sort(dwim_sort_func,"1","a")   test_sort(dwim_sort_func,"1","1a")   test_sort(dwim_sort_func,"0a","1")