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.12 2004/05/02 18:27:19 nilsson Exp $ + dnl $Id: testsuite.in,v 1.13 2007/01/02 17:30:06 nilsson 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:112:   test_day("2003-12-31 Wed 2004w01")   test_day("2004-01-01 Thu 2004w01")      test_eq([[ Calendar.ISO.Week(2001, 1)->format_ymd() ]], "2001-01-01")   test_eq([[ Calendar.ISO.Week(2002, 1)->format_ymd() ]], "2001-12-31")   test_eq([[ Calendar.ISO.Week(2003, 1)->format_ymd() ]], "2002-12-30")   test_eq([[ Calendar.ISO.Week(2004, 1)->format_ymd() ]], "2003-12-29")   test_eq([[ Calendar.ISO.Week(2005, 1)->format_ymd() ]], "2005-01-03")      test_eq([[Calendar.Language["swe"]->week_day_name_from_number(1)]], "mÃ¥ndag") +  + test_any([[ +  object k=Calendar.Events.se["midsummers eve"]->next(Calendar.Year()); +  return k->second(1)!=k->second(2); + ]], 1) +    END_MARKER