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

version» Context lines:

pike.git/lib/modules/Calendar.pmod/testsuite.in:1: - dnl $Id: testsuite.in,v 1.3 2002/11/28 19:15:31 nilsson Exp $ + dnl $Id: testsuite.in,v 1.4 2002/12/05 15:46:04 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.Gregorian.Day(2500000)->month_day()]],31)   test_eq([[Calendar.ISO.Day(2500000)->month_day()]],31)
pike.git/lib/modules/Calendar.pmod/testsuite.in:33:   test_eq(arrayp(Calendar.TZnames.zonenames()), 1)      dnl FAQ tests   test_eq( Calendar.dwim_day("1/2/3"), Calendar.Day(2003,1,2) )   test_eq( Calendar.dwim_day("1 aug 2001"), Calendar.Day(2001,8,1) )   test_false( Calendar.dwim_day("1 aug 2001")==Calendar.Day(2001,8,2) )   dnl Missing two dwim_time tests   test_eq( Calendar.parse("%Y-%M-%D %h:%m","2040-11-08 2:46"),    Calendar.Minute(2040,11,8,2,46) )   test_false( Calendar.parse("%Y w%W %e %h:%m %p %z","1913 w4 monday 2:14 pm CET") -  < Calendar.Minute(1913,1,20,14,14) ) +  < Calendar.set_timezone("CET")->Minute(1913,1,20,14,14) )   test_false( Calendar.parse("%Y w%W %e %h:%m %p %z","1913 w4 monday 2:14 pm CET") -  > Calendar.Minute(1913,1,20,14,14) ) +  > Calendar.set_timezone("CET")->Minute(1913,1,20,14,14) )   dnl The two objects above is not equal, which really is a bug.