pike.git / lib / modules / Calendar.pmod / testsuite.in

version» Context lines:

pike.git/lib/modules/Calendar.pmod/testsuite.in:1:   START_MARKER - dnl $Id: testsuite.in,v 1.24 2009/08/19 10:54:27 grubba Exp $ + dnl $Id: testsuite.in,v 1.25 2010/03/02 11:51:09 grubba Exp $      dnl NOTE:   dnl *every* time the Calendar tests have failed, it's not the   dnl Calendar module that had any errors. Please don't commit   dnl your Pike until you've got Calendar to compile again. /Mirar      test_true(Calendar.Day())      test_eq([[Calendar.Austrian.Day(2500000)->month_day()]],31)   test_eq([[Calendar.Coptic.Day(2500000)->month_day()]],25);
pike.git/lib/modules/Calendar.pmod/testsuite.in:249:   dnl Tests for year spanning weeks.   test_eq([[Calendar.ISO.Day (2007, 12, 31)->format_iso_week()]], "2008-W01")   test_eq([[Calendar.ISO.Day (2007, 12, 31)->format_iso_week_short()]], "200801")   test_eq([[Calendar.ISO.Day (2007, 12, 31)->set_size (Calendar.ISO.Week())->format_iso_week()]], "2008-W01")   test_eq([[Calendar.ISO.Day (2007, 12, 31)->set_size (Calendar.ISO.Week())->year_no()]], 2008)   test_eq([[Calendar.ISO.Week (2008, 1)->set_size (Calendar.ISO.Day())->format_ymd()]], "2007-12-31")   test_eq([[Calendar.ISO.Week (2008, 1)->set_size (Calendar.ISO.Day())->year_no()]], 2007)   test_eq([[Calendar.ISO.Week (2008, 1)->year_no()]], 2008)   test_eq([[Calendar.ISO.Week (2008, 1)->year_day()]], 0)   test_equal([[Calendar.ISO.Week ("julian", 2454466)->format_iso_week()]], "2008-W01") + dnl [bug 5303] + test_eq([[Calendar.ISO.Week("unix",1262300400)->month_day()]], 28)      test_equal([[    Calendar.ISO.Week (2008, 1)->datetime() - (["timezone": 1, "unix": 1])   ]], [[    ([    "day": 31,    "fraction": 0.0,    "hour": 0,    "julian": 2454466,    "minute": 0,