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