Loading tests/testProblem2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ bool test_2a() { bool test_2b() { string boardB = "xxxx----x\n-yyyyy--y\n"; string boardBb = "xxxx----x\\n-yyyyy--y\\n"; string boardBp = "xxxx----x\\n-yyyyy--y\\n"; if (longestStreak(boardB)!=5 && longestStreak(boardBp)!=5) return false; return true; Loading Loading
tests/testProblem2.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ bool test_2a() { bool test_2b() { string boardB = "xxxx----x\n-yyyyy--y\n"; string boardBb = "xxxx----x\\n-yyyyy--y\\n"; string boardBp = "xxxx----x\\n-yyyyy--y\\n"; if (longestStreak(boardB)!=5 && longestStreak(boardBp)!=5) return false; return true; Loading