#include "s0014_longest_common_prefix.hpp" #include TEST(Problem14, Case1) { vector i{"flower","flow","flight"}; string o{"fl"}; S0014 solution; EXPECT_EQ(solution.longestCommonPrefix(i), o); } TEST(Problem14, Case2) { vector i{"dog","racecar","car"}; string o{""}; S0014 solution; EXPECT_EQ(solution.longestCommonPrefix(i), o); }