From 06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Sun, 11 Jan 2009 18:05:44 -0800 Subject: All test cases in testIndic() now pass __correctly__. --- calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/kde') diff --git a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp index 5e2a7f1..14c9df2 100644 --- a/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp +++ b/calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp @@ -141,14 +141,14 @@ void KCalendarTest::testIndic() QCOMPARE( calendar->daysInYear(newDate), 365 ); newDate = calendar->addMonths( testDate, -4 ); - QCOMPARE( newDate.year(), 1999 ); - QCOMPARE( newDate.month(), 11 ); - QCOMPARE( newDate.day(), 1 ); + QCOMPARE( newDate.year(), 2078 ); + QCOMPARE( newDate.month(), 1 ); + QCOMPARE( newDate.day(), 21 ); newDate = calendar->addDays( newDate, 20 ); - QCOMPARE( newDate.year(), 1999 ); - QCOMPARE( newDate.month(), 11 ); - QCOMPARE( newDate.day(), 21 ); + QCOMPARE( newDate.year(), 2078 ); + QCOMPARE( newDate.month(), 2 ); + QCOMPARE( newDate.day(), 10 ); } -- cgit