pike.git / lib / modules / testsuite.in

version» Context lines:

pike.git/lib/modules/testsuite.in:907:   test_equal( o("/a/b/c -v"/" ")[Arg.APP], "c")   test_equal( o("x"/" ")->m, 0)   test_equal( o("x -m a"/" ")->m, ({ "a" }))   test_equal( o("x -m a -m b"/" ")->m, ({ "a", "b" }))      test_do(add_constant("o"))      dnl - Val.Timestamp      test_equal( Regexp("([^-+]*)") -  ->split((string)Val.Timestamp(1850,6,19,2,3,4,12000))[0], -  "1850/06/19 02:03:04.000012") +  ->split((string)Val.Timestamp(1920,6,19,2,3,4,12000))[0], +  "1920/06/19 02:03:04.000012")   test_equal( Regexp("([^-+]*)")    ->split((string)Val.Timestamp(1970,1,1,2,3,4,12000))[0],    "1970/01/01 02:03:04.000012")   test_equal( Regexp("([^-+]*)")    ->split((string)Val.Timestamp(2000,1,1,2,3,4,12000))[0],    "2000/01/01 02:03:04.000012")   test_equal( Regexp("([^-+]*)")    ->split((string)Val.Timestamp(2000,2,29,2,3,4,12000))[0],    "2000/02/29 02:03:04.000012")   test_equal( Regexp("([^-+]*)")
pike.git/lib/modules/testsuite.in:960:    ->split((string)(Val.TimeTZ(14,03,33,12000)+Val.Interval(123)))[0],    "14:05:36.000012")      dnl - Val.Date      test_equal( (string)Val.Date(2000,1,18), "2000/01/18")   test_equal( (string)Val.Date(2000,6,18), "2000/06/18")   test_equal( (string)Val.Date(1970,1,1), "1970/01/01")   test_equal( (string)Val.Date(1970,1,2), "1970/01/02")   test_equal( (string)Val.Date(1969,12,31), "1969/12/31") - test_equal( (string)Val.Date(1850,12,31), "1850/12/31") - test_equal( (string)Val.Date(1850,12,32), "1851/01/01") - test_equal( (string)Val.Date(1850,13,27), "1851/01/27") - test_equal( (string)Val.Date(1850,14,27), "1851/02/27") - test_equal( (string)(Val.Date(1850,14,27) + 1), "1851/02/28") + test_equal( (string)Val.Date(1920,12,31), "1920/12/31") + test_equal( (string)Val.Date(1920,12,32), "1921/01/01") + test_equal( (string)Val.Date(1920,13,27), "1921/01/27") + test_equal( (string)Val.Date(1920,14,27), "1921/02/27") + test_equal( (string)(Val.Date(1920,14,27) + 1), "1921/02/28")   test_equal( (string)Val.Date(1234567890), "2009/02/13")      test_equal( (int)(Val.Date(2017,7,14)+Val.Time(12,03,33,12000)),    1500033813)   test_equal( Regexp("([^-+]*)")    ->split((string)(Val.Date(2017,7,14)    + Val.TimeTZ(2017,7,14,12,03,33,12000)))[0],    "2017/07/14 12:03:33.000012")      dnl - Val.Interval