TextPropertiesExample1.push_back("CATEGORIES");
TextValueExample1.push_back("CATEGORY 3");
+ TextPropertiesExample1.push_back("COMMENT");
+ TextValueExample1.push_back("This is the first comment.");
+
+ TextPropertiesExample1.push_back("COMMENT");
+ TextValueExample1.push_back("This is the second comment.");
+
+ TextPropertiesExample1.push_back("COMMENT");
+ TextValueExample1.push_back("This is the third comment.");
+
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 1"));
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 2"));
TextExample1TestResult.insert(make_pair("ATTENDEE", "Example Attendee 3"));
ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "CATEGORIES"));
+ TextExample1TestResult.clear();
+ TextExample1TestResult.insert(make_pair("COMMENT", "This is the first comment."));
+ TextExample1TestResult.insert(make_pair("COMMENT", "This is the second comment."));
+ TextExample1TestResult.insert(make_pair("COMMENT", "This is the third comment."));
+
+ ASSERT_EQ(TextExample1TestResult, ProcessTextVectors(&TextPropertiesExample1, &TextValueExample1, true, "COMMENT"));
+
}
\ No newline at end of file