Describe(all_left_rotations) { It(T1){Assert::That(leftRotations("abc"), Equals(std::vector({ "abc", "bca", "cab" })));} It(T2){Assert::That(leftRotations("abcdef"), Equals(std::vector({ "abcdef", "bcdefa", "cdefab", "defabc", "efabcd", "fabcde" })));} It(T3){Assert::That(leftRotations("himalaya"), Equals(std::vector({ "himalaya", "imalayah", "malayahi", "alayahim", "layahima", "ayahimal", "yahimala", "ahimalay" })));} It(T4){Assert::That(leftRotations("aab"), Equals(std::vector({ "aab", "aba", "baa" })));} }; Describe(all_right_rotations) { It(T1){Assert::That(rightRotations("abc"), Equals(std::vector({ "abc", "cab", "bca" })));} It(T2){Assert::That(rightRotations("abcdef"), Equals(std::vector({ "abcdef", "fabcde", "efabcd", "defabc", "cdefab", "bcdefa" })));} It(T3){Assert::That(rightRotations("himalaya"), Equals(std::vector({ "himalaya", "ahimalay", "yahimala", "ayahimal", "layahima", "alayahim", "malayahi", "imalayah" })));} It(T4){Assert::That(rightRotations("aab"), Equals(std::vector({ "aab", "baa", "aba" })));} };