From b171e8bfe1899ab15b443c31807542322ff74c72 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 31 Jan 2016 12:01:28 +0000 Subject: [PATCH] Added unit tests for PERCENT-COMPLETE in iCalendarTask/ObjectDataTests. --- source/tests/xestiacalendar_icaltaskload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tests/xestiacalendar_icaltaskload.h b/source/tests/xestiacalendar_icaltaskload.h index a0b3f7d..d122854 100644 --- a/source/tests/xestiacalendar_icaltaskload.h +++ b/source/tests/xestiacalendar_icaltaskload.h @@ -120,4 +120,9 @@ TEST(iCalendarTask, ObjectDataTests){ ASSERT_EQ("kw", TestTask.OrganiserDataLanguage); ASSERT_EQ("HAPPY=WEEKS", TestTask.OrganiserDataTokens); + // Tets for PERCENT-COMPLETE. + + ASSERT_EQ("42", TestTask.PercentCompleteData); + ASSERT_EQ("DEEP=THOUGHT", TestTask.PercentCompleteTokens); + } \ No newline at end of file -- 2.39.5