Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a40370ea7a401cc4

Jump to content

Module talk:Goban/testcases

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

All 23 tests passed.

test_bare_19x19

test_bare_19x19
TestExpectedActual
checkY wrapper true true
checkY 19 rows 19 19
checkY 361 points 361 361
checkY 9 hoshi 9 9
checkY corners 4 4
checkY no images nil nil

test_size_and_borders

test_size_and_borders
TestExpectedActual
checkY size true true
checkY top-right corner 1 1
checkY no left edge 0 0
checkY invalid size falls back true true

test_tiles

test_tiles
TestExpectedActual
checkY black stone true true
checkY triangle true true
checkY square true true
checkY odd move is black true true
checkY even move is white true true
checkY three-digit black true true
checkY three-digit white true true
checkY letter true true
checkY X true true
checkY ringed hoshi true true
checkY ringed edge true true
checkY digit label true true

test_unknown_code_is_escaped

test_unknown_code_is_escaped
TestExpectedActual
checkY escaped true true

All 9 tests passed.

test_empty_board

test_empty_board
TestExpectedActual
checkY empty 5x5 Go board, 5 by 5, empty. Go board, 5 by 5, empty.
checkY 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
TestExpectedActual
checkY 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.
checkY 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
TestExpectedActual
checkY 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.
checkY 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
TestExpectedActual
checkY 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
TestExpectedActual
checkY generated Go board, 1 by 1, empty. Go board, 1 by 1, empty.
checkY alt A ladder. A ladder.