pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:1: - dnl $Id: testsuite.in,v 1.23 2003/11/21 16:17:56 grubba Exp $ + dnl $Id: testsuite.in,v 1.24 2004/03/15 22:14:52 nilsson Exp $      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 }),
pike.git/lib/modules/testsuite.in:642:   dnl - Int      test_eq( Int.parity(0), 0 )   test_eq( Int.parity(1), 1 )   test_eq( Int.parity(2), 1 )   test_eq( Int.parity(3), 0 )   test_eq( Int.parity(4), 1 )   test_eq( Int.parity(6), 0 )   test_eq( Int.parity(7), 1 )    + test_eq( Int.swap_word(array_sscanf("\1\2", "%2c")[0]), +  array_sscanf("\2\1", "%2c")[0]) + test_eq( Int.swap_long(array_sscanf("\1\2\3\4", "%4c")[0]), +  array_sscanf("\4\3\2\1", "%4c")[0]) +    dnl - Mapping   dnl Mapping.delete   dnl Mapping.Iterator      dnl - Multiset   dnl Multiset.Iterator      dnl - Process   test_equal([[Process.split_quoted_string("test ")]],[[({"test"})]])   test_equal([[Process.split_quoted_string("'test'")]],[[({"test"})]])