State of Tic-Tac-Toe incorrect Test

I seem to have come across an incorrect testcase here, namely Test 8:

@testset "Finished game where X won via middle row victory" begin
            @test gamestate(["O O", "XXX", " O "]) == "win"
        end

But obviously, this game would be invalid.
The Test for this case is correct in other tracks I’ve seen, with only one ‘O’ in the first row.

Yup. The problem spec has been updated, reimplementing that case. It looks like the Julia repo hasn’t synced that test from the problem specs.

+cc @colinleach

2 Likes

PR #1066 should fix this. Thanks for pointing it out!

1 Like

Thanks (also to IsaacG) for the quick response!

2 Likes