#include "s0030_substring_with_concatenation_of_all_words.hpp" #include TEST(Problem30, Case1) { string s{"barfoothefoobarman"}; vector words{"foo", "bar"}; vector o{0, 9}; S0030 solution; EXPECT_EQ(solution.findSubstring(s, words), o); } TEST(Problem30, Case2) { string s{"wordgoodgoodgoodbestword"}; vector words{"word","good","best","word"}; vector o{}; S0030 solution; EXPECT_EQ(solution.findSubstring(s, words), o); }