@@ -131,7 +131,7 @@ OCIO_ADD_TEST(StringUtils, split)
131131
132132 // Something important to notice and preserve.
133133 {
134- // Note: StringUtils::Split() is mainly used to parse some string content enumerating
134+ // Note: StringUtils::Split() is mainly used to parse some string content enumerating
135135 // a list of substrings (i.e. separator could be a space, comma, etc). In that use case,
136136 // a string like ",," must return three entries. Refer to 'looks' parsing for example.
137137 // However, StringUtils::SplitByLines() is mainly used to read some file content where
@@ -287,6 +287,10 @@ OCIO_ADD_TEST(StringUtils, multiply)
287287 OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 0 ), " " );
288288 OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 1 ), " " );
289289 OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 2 ), " " );
290+
291+ OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 0 ), " " );
292+ OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 1 ), " " );
293+ OCIO_CHECK_EQUAL (StringUtils::Multiply (" " , 2 ), " " );
290294}
291295
292296OCIO_ADD_TEST (StringUtils, repeat)
@@ -300,4 +304,8 @@ OCIO_ADD_TEST(StringUtils, repeat)
300304 OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 0 ), " " );
301305 OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 1 ), " " );
302306 OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 2 ), " " );
307+
308+ OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 0 ), " " );
309+ OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 1 ), " " );
310+ OCIO_CHECK_EQUAL (StringUtils::Repeat (" " , 2 ), " " );
303311}
0 commit comments