Refactor
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
TEST(Problem38, Case1) {
|
||||
int i{1};
|
||||
string o{"1"};
|
||||
Solution solution;
|
||||
S0038 solution;
|
||||
EXPECT_EQ(solution.countAndSay(i), o);
|
||||
}
|
||||
|
||||
TEST(Problem38, Case2) {
|
||||
int i{4};
|
||||
string o{"1211"};
|
||||
Solution solution;
|
||||
S0038 solution;
|
||||
EXPECT_EQ(solution.countAndSay(i), o);
|
||||
}
|
||||
|
Reference in New Issue
Block a user