diff options
author | Praveen Arimbrathodiyil <pravi.a@gmail.com> | 2009-01-11 18:05:44 -0800 |
---|---|---|
committer | Praveen Arimbrathodiyil <pravi.a@gmail.com> | 2009-01-11 18:05:44 -0800 |
commit | 06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b (patch) | |
tree | 896705fa9518823a8f1d0a8cfc2436cf25893ba7 /calendar | |
parent | 944b4b452a56690e11b8b545d4135ecce9fefcde (diff) | |
download | AnjaliOldLipi.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.tar.gz AnjaliOldLipi.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.tar.xz AnjaliOldLipi.git-06f3f2ec5d5c01e2a457f36bae9f188cda7f2b1b.zip |
All test cases in testIndic() now pass __correctly__.
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/kde/kdelibs/kdecore/tests/kcalendartest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 ); } |