From Wikipedia, the free encyclopedia
All 9 tests passed.
test_empty_board
test_empty_board
Test Expected Actual
Y
empty 5x5
Go board, 5 by 5, empty.
Go board, 5 by 5, empty.
Y
edges and hoshi are silent
Go board, 2 by 2, empty.
Go board, 2 by 2, empty.
test_stones_and_marks
test_stones_and_marks
Test Expected Actual
Y
stones
Go board, 2 by 2. Black stones: A2, B1. White stones: B2. Marks: triangle on black stone at B1.
Go board, 2 by 2. Black stones: A2, B1. White stones: B2. Marks: triangle on black stone at B1.
Y
marks
Go board, 1 by 4. White stones: D1. Marks: letter A at A1; X at B1; circle at C1; square on white stone at D1.
Go board, 1 by 4. White stones: D1. Marks: letter A at A1; X at B1; circle at C1; square on white stone at D1.
test_moves
test_moves
Test Expected Actual
Y
moves in order
Go board, 1 by 4. Moves: 1 black C1; 2 black D1; 2 white A1; 3 white B1.
Go board, 1 by 4. Moves: 1 black C1; 2 black D1; 2 white A1; 3 white B1.
Y
three digits
Go board, 1 by 2. Moves: 101 black B1; 250 white A1.
Go board, 1 by 2. Moves: 101 black B1; 250 white A1.
test_unknown_code
test_unknown_code
Test Expected Actual
Y
escaped
Go board, 1 by 1. Marks: b< x> tile at A1.
Go board, 1 by 1. Marks: b< x> tile at A1.
test_description
test_description
Test Expected Actual
Y
generated
Go board, 1 by 1, empty.
Go board, 1 by 1, empty.
Y
alt
A ladder.
A ladder.