Every US state capital, Washington DC, Canada's capitals and Greenland
44 US cities (every missing state capital and DC) and 12 Canadian ones (every provincial and territorial capital), sized by metro population, with exchanges only where PeeringDB lists a real one. Level Tree is in every state capital; Cogentle, AT&Tease and Drizzle Electric in the bigger ones, and Drizzle on the Edmonton, Winnipeg, Saskatoon and Quebec City exchanges as Hurricane is. Greenland: Nuuk, Qaqortoq, Sisimiut and Aasiaat, each its own landmass (no road or fiber over the ice), on Greenland Connect's real landings (Iceland-Qaqortoq- Nuuk-Newfoundland) and Connect-the-Dots North up the coast. Too Sassy (Tusass, AS8818) is the one operator. Iqaluit has only satellites: a beach, no seller. New regional carriers: Bell Alien (Bell Aliant, AS855), SaskTell-Tale (SaskTel, AS803), Northwest Passage Tel (Northwestel, AS22573). Victoria and Iqaluit are documented W3 exceptions, Greenland a W2 one; the real names go on the blocklist.
This commit is contained in:
parent
41d5bc8b21
commit
017eba4ca2
17 changed files with 372 additions and 9 deletions
|
|
@ -15,7 +15,12 @@ function pages() {
|
|||
fs.writeFileSync(head, page.assemble().html);
|
||||
let base = head;
|
||||
try { const b = path.join(os.tmpdir(), `tubes-fuzz-test-${process.pid}-base.html`); fs.writeFileSync(b, page.assembleRef('origin/main')); base = b; } catch (e) {}
|
||||
return { base: openPage(base, 'base'), head: openPage(head, 'head') };
|
||||
let P = { base: openPage(base, 'base'), head: openPage(head, 'head') };
|
||||
// A change to the world itself (cities, networks, cables) cannot route like main: there is no same game to compare.
|
||||
// Then the base is this checkout too, and the cache on/off check still runs; equivalence with main resumes once it lands.
|
||||
const world = (p) => p.ev("JSON.stringify([CITIES.map(c=>[c.id,c.land,c.P]),NETS.map(n=>[n.id,n.pops,n.ix,n.share,n.price,n.up]),CABLES.map(c=>[c.id,c.pairs.map(q=>[q[0],q[1]])])])");
|
||||
if (base !== head && world(P.base) !== world(P.head)) { console.log('# route fuzz: the world differs from main, so both pages are this checkout'); P = { base: openPage(head, 'base'), head: P.head }; }
|
||||
return P;
|
||||
}
|
||||
|
||||
test('random games route the same as main, with and without the routing cache, move for move', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue